Head to head · LLM inference · October 2026 research run

Tencent Hy4 vs SWE-2 Flash

Tencent Hy4 scores 64 (B) on agent readiness against SWE-2 Flash's 37.6 (F), and leads in 5 of 7 scored categories. SWE-2 Flash leads on transparency & trust. Both do llm inference.

Best model APIs and inference for AI agents · All 1044 models comparisons

Which one, for what

Tencent Hy4 B

Best for Long-context agent work, coding and office or finance tasks on a 1M-token context with images, for teams already on Tencent Cloud or happy to verify an account there.

Ahead on

  • Schema & documentation, 73 against 29
  • Agent ergonomics, 86 against 10
  • Security & auth, 71 against 53
  • Payments & pricing, 45 against 30
  • Maintenance & community, 73 against 53

Watch for

Weights, licence and system card are promised but not published; tencent/Hy4 didn't answer on Hugging Face on 11 November

SWE-2 Flash F

Best for People already using Devin Desktop or Devin CLI who want a cheaper, faster model for routine coding work such as automations, reviews and small changes, while it is free in November 2026.

Ahead on

  • Transparency & trust, 64 against 52

Watch for

No model API, OpenAPI entry or model card. The Devin API's session agents list SWE-2 but not SWE-2 Flash

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Agent ergonomics Tencent Hy4 +76

Tencent Hy4 86

Model reading for hy4 on Tencent Cloud TokenHub. Platform facts are the tencent-tokenhub listing's (checked 1 November), carried over as RULES.md allows for a model on an already graded platform. Function calling is marked for hy4 in the model list (18 of 20). Structured output marked (13 of 15). Cache-hit price published, ¥0.3 against ¥6 input (14 of 15). 1M-token context with 960K input and 64K output (15). Batch at half price covered Hy3 and Hy4 preview on 1 November; whether it covers hy4 wasn't re-read (3 of 10). OpenAI and Anthropic SDKs with a changed base URL, plus Tencent Cloud's SDK and CLI for the control plane (8 of 10). Errors with code, messages, upstream status and request ID (15 of 15). 18 + 13 + 14 + 15 + 3 + 8 + 15 = 86.

SWE-2 Flash 10

Model reading (tool use, structured output, caching, context, batch, SDKs). Tool use is Devin's harness, not something a caller configures; no context length, output limit or cache price is published for SWE-2 Flash (5 of 25). No documented output-size or reasoning controls for this model; SWE-2's effort levels aren't stated for Flash (0 of 20). No model-level error documentation (0 of 20). No idempotency or retry guidance (0 of 20). One flag or picker selects it and devin -p runs a single turn and prints to stdout, but there is no SDK or direct endpoint (5 of 15). 5 + 0 + 0 + 0 + 5 = 10.

Schema & documentation Tencent Hy4 +44

Tencent Hy4 73

Model reading for hy4 on Tencent Cloud TokenHub. Platform facts are the tencent-tokenhub listing's (checked 1 November), carried over as RULES.md allows for a model on an already graded platform. No OpenAPI file for inference; field pages for the OpenAI and Anthropic formats as TokenHub implements them (12 of 25). llms.txt with Markdown copies (10). The model list, updated 9 November, gives hy4's context, input and output limits and marks thinking, structured output, function calling, caching and image understanding; computer use, which Tencent's release names, isn't marked (13 of 20). Typed field pages (10 of 15). Examples in five languages and an error page of 30 codes (14 of 15). Dated release notes, with hy4 added on 4 November (14 of 15). 12 + 10 + 13 + 10 + 14 + 14 = 73.

SWE-2 Flash 29

Model reading. No model API, so no OpenAPI entry; the Devin v3 OpenAPI file lists SWE-2 agents only, and no model card was found (0). docs.devin.ai serves llms.txt and Markdown copies of every page (10). The launch post says what it is for (automations, code review, feature development, documentation) and the CLI docs say when to pick a SWE model, but the models pages don't list SWE-2 Flash yet (6 of 20). No documented model ID, reasoning settings, context or output limits to type (0 of 15). The CLI pages show --model and /model examples, with no model-specific errors (3 of 15). Named, dated model versions on Cognition's blog and public release notes, but no release note for SWE-2 Flash yet; the newest is 2 November (10 of 15). 0 + 10 + 6 + 0 + 3 + 10 = 29.

Maintenance & community Tencent Hy4 +20

Tencent Hy4 73

Model reading for hy4 on Tencent Cloud TokenHub. Platform facts are the tencent-tokenhub listing's (checked 1 November), carried over as RULES.md allows for a model on an already graded platform. Added on 4 November 2026 per the release notes; the model list and price page were updated on 9 November (30). Retirement notices of 21 to 33 days, no minimum written (7 of 12). Heavy retirement churn on the platform (3 of 8). Dated release notes and announcements, round-the-clock support (13 of 15). CLI replies not sampled (3 of 10). Control-plane SDKs and CLI, no inference SDK of its own (12 of 15). CLI runtime stated, CI not checked (5 of 10). 30 + 7 + 3 + 13 + 3 + 12 + 5 = 73. The model is a week old, so these lines are TokenHub's habits more than Hy4's record.

SWE-2 Flash 53

Model reading. Released 4 November 2026 (30). Churn and notice in place of release counts: SWE-1.6, SWE-1.7, SWE-1.7 Lightning, SWE-2 (10 September) and now SWE-2 Flash in a few months, with no model deprecation notice period found and short names that move to the newest model (10 of 20). Public release notes and a support address, no public tracker (10 of 25). No official SDK for the model (0 of 15). The docs are kept current but don't yet cover this model (3 of 10). 30 + 10 + 10 + 0 + 3 = 53.

Security & auth Tencent Hy4 +18

Tencent Hy4 71

Model reading for hy4 on Tencent Cloud TokenHub. Platform facts are the tencent-tokenhub listing's (checked 1 November), carried over as RULES.md allows for a model on an already graded platform. Bearer keys limited by model, service, IP range and token quota, long-lived with no rotation (26 of 30). The terms say inputs aren't used to train Tencent Cloud's own models, and Hy4 is first party, so no third party's terms apply (14 of 20). Retention only as long as the service needs, no periods (7 of 15). Per-call audit logs and optional full logs to the customer's CLS (14 of 15). No security.txt; Tencent's TSRC bounty covers Tencent Cloud; no certification checked (10 of 20). 26 + 14 + 7 + 14 + 10 = 71.

SWE-2 Flash 53

Read as a hosted model reached through Devin's local clients. The CLI signs in through a browser, or the enterprise identity provider, and stores an API token in credentials.toml that by default is persistent and does not expire and carries the user's access, with no scopes found for it (10 of 30). Devin CLI documents an OS-level sandbox with network filtering, hooks that can block tool calls, and enterprise model allowlists and team settings (14 of 20). Guardrails against prompt injection are Enterprise only and cover user messages, as on the devin listing (8 of 15). Enterprise analytics count tool calls and consumption by model and user; no per-user audit log for the CLI was found (8 of 15). SOC 2 Type II and ISO/IEC 27001:2022, a disclosure address, no bug bounty and no security.txt, per the devin listing (13 of 20). Training: self-serve customer data may train Cognition's models by default, with an opt-out on paid plans that also turns on zero data retention at model providers. Cognition withheld the weights over cyber misuse, which is recorded as a fact, not scored. 10 + 14 + 8 + 8 + 13 = 53.

Payments & pricing Tencent Hy4 +15

Tencent Hy4 45

Model reading for hy4 on Tencent Cloud TokenHub. Platform facts are the tencent-tokenhub listing's (checked 1 November), carried over as RULES.md allows for a model on an already graded platform. No machine payment protocol (0). The price page, updated 9 November, lists ¥6 input, ¥0.3 cached and ¥18 output per million tokens, with Hy4 billed at 50% until 31 December 2026 (20). TokenHub's campaign of 1M free tokens per language model, read on 1 November, isn't confirmed for hy4 on the price page, so half (10 of 20, a judgement call). A person signs up with real-name verification (0). 0 + 20 + 10 + 0 = 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.

SWE-2 Flash 30

Published rubric. No payment protocol (0). Plan prices are public, but no per-token price for SWE-2 Flash is on a readable page; the docs' cost table loads in the browser and the post gives only 'one-fifth the price' of SWE-2 (10). Free through 30 November 2026 on Devin Desktop and CLI, but the docs say Free tier users only have SWE-1.6, so whether the Free plan reaches it, and without a card, isn't confirmed; the in-between value used on the devin listing (10). A person signs in through a browser (0). 0 + 10 + 10 + 0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

Transparency & trust SWE-2 Flash +12

Tencent Hy4 52

Model reading for hy4 on Tencent Cloud TokenHub. Platform facts are the tencent-tokenhub listing's (checked 1 November), carried over as RULES.md allows for a model on an already graded platform. Closed service under the TokenHub terms, but Tencent's release headline calls Hy4 open source while the weights and system card are only promised 'in the coming days', with no licence stated, and tencent/Hy4 didn't answer on Hugging Face on 11 November (14 of 30). Terms and FAQ agree inputs aren't used for training; the privacy policy renders only with JavaScript and wasn't read (15 of 30). Dated retirement notices and shutdown fields (13 of 20). Processing generally in mainland China for the China site, Singapore for the international one (13 of 20). Every benchmark in the release is Tencent's own or a partner's. 14 + 15 + 13 + 13 = 55.

SWE-2 Flash 64

Editorial half. Closed model under Cognition's platform terms; the weights aren't public and the sharing programme isn't described yet (15). Terms, privacy policy, security page and DPA agree, with training on self-serve data by default and no retention periods, as read for the devin listing (18). The API versioning policy covers API endpoints, not models, and no model deprecation notice was found (5 of 20). Sub-processors listed with purpose and country, per the devin listing's 8 October check (18). 15 + 18 + 5 + 18 = 56.

Score by category

CategoryWeight this runTencent Hy4SWE-2 FlashEdge
Reliability16%204650SWE-2 Flash +4
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.27329Tencent Hy4 +44
Agent ergonomics13%16.28610Tencent Hy4 +76
Security & auth14%17.57153Tencent Hy4 +18
Payments & pricing10%12.54530Tencent Hy4 +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.87353Tencent Hy4 +20
Transparency & trust7%8.85264SWE-2 Flash +12
Negative events≤150-2
TotalB 64/100F 37.6/100

Facts side by side

FactTencent Hy4SWE-2 Flash
KindModel APIModel API
VendorTencent (Hy team)Cognition AI, Inc.
Hosted endpointno (local only)no (local only)
TransportsHTTP
AuthAPI keyOAuth or key
PricingPay per useFreemium
x402nono
LicenceHosted model under the Tencent Cloud TokenHub terms. Tencent says weights and a system card will follow; no licence is stated yetProprietary model, used through Devin Desktop and Devin CLI under Cognition's Platform Terms of Service. The weights are not public; Cognition says it is building a programme to share them with industry partners and researchers
Read-only variant documentednono
llms.txtyesyes
Last release2026-11-042026-11-04
Terms last updatedcouldn't be read2026-06-30
Privacy policy last updatedcouldn't be read2026-03-09
Customer content may train modelscouldn't be readyes, with an opt-out
Terms restrict automated accesscouldn't be readnot found in the text
Terms restrict benchmarkingcouldn't be readyes
Terms or service can change without noticecouldn't be readnot found in the text
Arbitration or class-action waivercouldn't be readyes

How the scores have moved

Verdicts

Tencent Hy4

Tencent's flagship model is on TokenHub as hy4, with a 1M-token context, image understanding, function calling and caching, at ¥6 input and ¥18 output per million tokens, half price until the end of 2026. The weights it is called open source for aren't published yet, and every benchmark is Tencent's own.

SWE-2 Flash

A new small coding model from Cognition that anyone can try free in Devin Desktop and Devin CLI until 30 November 2026, with strong vendor-reported coding scores. It has no model API, no published per-token price, context length or model card, and no public weights, so an agent can reach it only by driving Devin's own CLI.

Before you call either

Tencent Hy4

  1. Use model id hy4 on TokenHub's OpenAI- or Anthropic-compatible endpoints; hy4-preview is a separate, older model
  2. Keep input under 960K tokens and expect at most 64K output
  3. Reuse prompt prefixes: cached input is ¥0.3 against ¥6
  4. Check the price page for the end of the 50% discount on 31 December 2026 before budgeting
  5. Read rate limits from the console or DescribeModelQuota; the public docs don't give them for chat models

SWE-2 Flash

  1. There is no endpoint to call. Run Devin CLI single-turn with devin -p and pick the model with --model; the SWE-2 Flash model ID isn't documented yet, so check /model in the CLI first
  2. Don't rely on the short name swe. The docs say it resolves to the latest model in the family, which may be SWE-2 rather than SWE-2 Flash
  3. Plan for billing to start on 1 December 2026. The free period covers Devin Desktop and CLI only, not Devin cloud sessions
  4. Treat Cognition's benchmark figures as the vendor's. No independent result for SWE-2 Flash was found
  5. Keep credentials.toml private. The token in it doesn't expire by default and carries the signed-in user's access

Questions

Which is better for AI agents, Tencent Hy4 or SWE-2 Flash?

Tencent Hy4 scores 64 (B) on agent readiness against SWE-2 Flash's 37.6 (F), and leads in 5 of 7 scored categories. SWE-2 Flash leads on transparency & trust.

Do Tencent Hy4 and SWE-2 Flash need an API key?

Tencent Hy4 needs an API key. SWE-2 Flash takes an API key or an OAuth sign-in.

Can an agent call Tencent Hy4 and SWE-2 Flash without installing anything?

No hosted endpoint is listed for Tencent Hy4. No hosted endpoint is listed for SWE-2 Flash.

Other comparisons with Tencent Hy4 or SWE-2 Flash

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.