@code-yeongyu/senpi-ai 2026.10.31-1 → 2026.10.31-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -333,8 +333,12 @@ export function assertLoginKeyPresent(credential) {
333
333
  *
334
334
  * `onAllocated` reports the account this login committed, so a caller can name
335
335
  * it in a receipt without re-reading storage.
336
+ *
337
+ * With `accountIdentity`, a flat OAuth login whose identity matches saved
338
+ * accounts is a re-login of that account, not a new one (omo#9633): see
339
+ * `replaceSameAccount`.
336
340
  */
337
- export function appendLoginSlot(stored, flat, onAllocated) {
341
+ export function appendLoginSlot(stored, flat, onAllocated, options) {
338
342
  assertLoginKeyPresent(flat);
339
343
  // A pool holds one kind: a login of the other kind replaces the credential instead of joining it
340
344
  // as a slot nothing can project (senpi#3448). The caller backs up what it replaces.
@@ -360,11 +364,69 @@ export function appendLoginSlot(stored, flat, onAllocated) {
360
364
  // shape because the provider's accounts already carry this login.
361
365
  return storedAccounts ? mergeProvidedPool(current, storedAccounts, provided) : flat;
362
366
  }
367
+ const replaced = replaceSameAccount(current, flat, options?.accountIdentity, onAllocated);
368
+ if (replaced)
369
+ return replaced;
363
370
  const name = nextLoginSlotName(current);
364
371
  const next = upsertSlot(current, slotFromFlatCredentialNamed(flat, name));
365
372
  onAllocated?.(name, "generated");
366
373
  return next;
367
374
  }
375
+ /**
376
+ * A login of an account that is already saved rewrites that account instead of
377
+ * appending another `login-N` copy of it. Appending kept the old copy, and once the
378
+ * provider invalidated its token, session affinity kept choosing it (omo#9633).
379
+ *
380
+ * The first saved account with the login's identity keeps its name, label, source
381
+ * and place and takes the fresh material; block fields stored on it are dropped,
382
+ * since they described the old token. Later saved copies of the same account are
383
+ * removed, and a pin or user order naming one moves to the kept name: their tokens
384
+ * are older grants for the same account, which a re-login supersedes. The flat
385
+ * projection is re-pointed only when it carried one of those copies. A lone flat
386
+ * credential of the same account is simply overwritten, keeping today's shape.
387
+ *
388
+ * Returns `undefined` (append as before) when the provider reports no identity, the
389
+ * login has none, or no saved account matches. Environment accounts never match.
390
+ */
391
+ function replaceSameAccount(current, flat, accountIdentity, onAllocated) {
392
+ if (!accountIdentity || flat.type !== "oauth")
393
+ return undefined;
394
+ const identity = accountIdentity(flat);
395
+ if (identity === undefined)
396
+ return undefined;
397
+ const slots = listSlots(current);
398
+ const matches = slots.filter((slot) => slot.source !== "env" && slot.access !== undefined && accountIdentity({ access: slot.access }) === identity);
399
+ const kept = matches[0];
400
+ if (!kept)
401
+ return undefined;
402
+ if (!Array.isArray(current.accounts) || current.accounts.length === 0) {
403
+ onAllocated?.(kept.name, "generated");
404
+ return flat;
405
+ }
406
+ const fresh = {
407
+ name: kept.name,
408
+ ...(kept.displayName === undefined ? {} : { displayName: kept.displayName }),
409
+ ...(kept.source === undefined ? {} : { source: kept.source }),
410
+ access: flat.access,
411
+ refresh: flat.refresh,
412
+ expires: flat.expires,
413
+ ...credentialSlotEnv(flat),
414
+ };
415
+ const dropped = new Set(matches.slice(1).map((slot) => slot.name));
416
+ const accounts = slots.flatMap((slot) => (slot === kept ? [fresh] : dropped.has(slot.name) ? [] : [slot]));
417
+ const projected = matches.some((slot) => slotMirrorsFlat(current, slot))
418
+ ? projectFlatFields(current, fresh)
419
+ : current;
420
+ const next = { ...projected, accounts };
421
+ if (next.pinned !== undefined && dropped.has(next.pinned))
422
+ next.pinned = kept.name;
423
+ if (next.order !== undefined) {
424
+ const order = next.order.map((name) => (dropped.has(name) ? kept.name : name));
425
+ next.order = order.filter((name, index) => order.indexOf(name) === index);
426
+ }
427
+ onAllocated?.(kept.name, "generated");
428
+ return next;
429
+ }
368
430
  /**
369
431
  * Material a provider writes into the flat credential when the real token lives
370
432
  * outside auth.json (an SDK subprocess or a vendor CLI owns it): the literal
@@ -255,6 +255,13 @@ export interface OAuthAuth {
255
255
  */
256
256
  rejectedTokenStatuses?: readonly number[];
257
257
  login(interaction: ProviderAuthInteraction, options?: LoginOptions): Promise<OAuthCredential>;
258
+ /**
259
+ * Side-effect-free: the signed-in account a credential's own material belongs to, or `undefined`
260
+ * when it cannot tell. A login whose identity matches a saved account replaces that account's
261
+ * credential instead of being added beside it (`appendLoginSlot`). Must be synchronous and must
262
+ * not load the flow module, because it runs inside the credential store's write lock.
263
+ */
264
+ accountIdentity?(credential: Pick<OAuthCredential, "access">): string | undefined;
258
265
  /**
259
266
  * Exchange the refresh token. Network call; throws on failure
260
267
  * (invalid_grant etc.). `Models` runs this under the store lock.
@@ -3,6 +3,7 @@ import type { OAuthCredentials } from "../auth/types.ts";
3
3
  export type OAuthProviderId = string;
4
4
  /** Legacy extension OAuth prompt. */
5
5
  export interface OAuthPrompt {
6
+ type?: "text" | "secret" | "manual_code";
6
7
  message: string;
7
8
  placeholder?: string;
8
9
  allowEmpty?: boolean;
package/dist/models.js CHANGED
@@ -380,7 +380,7 @@ class ModelsImpl {
380
380
  return appendLoginSlot(current, credential, (name, origin) => {
381
381
  committedName = name;
382
382
  committedOrigin = origin;
383
- });
383
+ }, { accountIdentity: provider.auth.oauth?.accountIdentity });
384
384
  }, { signal });
385
385
  void mutation.catch(() => { });
386
386
  try {
@@ -2,6 +2,7 @@ import { openAICodexResponsesApi } from "../api/openai-codex-responses.lazy.js";
2
2
  import { lazyOAuth } from "../auth/helpers.js";
3
3
  import { loadChatGptSubscriptionOAuth } from "../auth/oauth/load.js";
4
4
  import { createProvider } from "../models.js";
5
+ import { extractChatGptSubscriptionIdentity } from "../utils/chatgpt-subscription-auth.js";
5
6
  import { CHATGPT_SUBSCRIPTION_MODELS } from "./chatgpt-subscription.models.js";
6
7
  export function chatgptSubscriptionProvider() {
7
8
  return createProvider({
@@ -12,6 +13,7 @@ export function chatgptSubscriptionProvider() {
12
13
  oauth: lazyOAuth({
13
14
  name: "ChatGPT Subscription (Plus/Pro)",
14
15
  isSubscription: true,
16
+ accountIdentity: (credential) => extractChatGptSubscriptionIdentity(credential.access),
15
17
  load: loadChatGptSubscriptionOAuth,
16
18
  }),
17
19
  },
@@ -1 +1 @@
1
- {"schemaVersion":6,"generatedAt":"2026-10-31T03:14:04.176Z","structureHash":"21f7e2ac7a226798a5d01d0de4ee0b65dc62b09f103fc86ebc7ffece4da83f72","files":{"alibaba-token-plan.json":"9f4d42cc765b2a875bcdcaa392bfdc1323c88968309baf9db9f611a26c595c73","amazon-bedrock.json":"a7e20838b095788cb9d5acbde49664b7f2868fad9b10fb4bbbd66635085bca2d","ant-ling.json":"628feab3ef6c7d80ce96f75999804e1d9f05fec3851e5302e30fff3b69db90f6","anthropic.json":"111384e9f5845e0247bd34edf2400ef7720fcbdac140b944cf8878192d8bd6ab","azure-openai-responses.json":"fd64c6a2a99fa87d768ed2f75f5c7813876df1dbe2f0d1776f7d9bd7ce2e61e4","bai.json":"7e6861aaf27d8af34e1771c6092602194fcec0a0046e6adfab9c3ee54d32b99f","baseten.json":"5bd3c98c61769388b3724368ef964d16b7a58e41a6edcf4ebceb9d4ac0a21d3b","cerebras.json":"2eb969b2956844f9a641d3de52c19f1791293c58f607282fb3b0ebfe85ff66f8","chatgpt-subscription.json":"98320f1d51709d26ca047b3d6e3191cfe2f192f1b27897cbb492f47b0e5a5030","cloudflare-ai-gateway.json":"ac281b8cc18eb84ba61f215eff3234d14732cd66239617fb59d6812b13d6473f","cloudflare-workers-ai.json":"1b9ad4360bde817f0ea358431020308f1052840e2278a57a93629f1790072d2e","deepseek.json":"10a296fb3e898f7715c80890c8af0af4f5fd58f22dbcd6612fdc5d762157ccdc","fireworks.json":"56c557eb97573028e871c211cb17e1d60665eb12d67a712615db4bb255bc9253","github-copilot.json":"474fa92eb88ef242208ca93709ebe6d7f21754917d0cad6210bd1edf2b99a87e","google-vertex.json":"8f986b4aca8c685b0f3481bd252bda21e4858bf9015ad37fc5bcc44b7f01d076","google.json":"d25613a7377e81d785d571be514d67b35436511ce6946247dc66f8674e2a5035","groq.json":"087df37206e9eed8b10f1e558e4c496289bef60074b7e8afba4f20fb102b4ec2","huggingface.json":"209cdcf205961ef2ff203486da614232a86a069ebe0e98266189a14a235fac8f","meta.json":"563f5ec07973f52ab8c3eb26ef91a36ad8a79e950b37174935666cdcb624bf35","minimax-cn.json":"70df757e95e9ea2275bf451956b58a746020835f6cbcbd1a644d7fad5b9941d3","minimax.json":"747038b05f4fc24e41405e8bc810f893d7d5121e214e35e6f812f775769a3806","mistral.json":"aafecc66686645b1baa8c90e81c02856115f09999ff507f9bee004d2e1c77a28","moonshotai-cn.json":"a953eace729ef96c91195d477c63c776a1c40aa36085b61236ca1be0fe5b9337","moonshotai.json":"0435f9dc4e532c0764b6d33d8dfa83ce5fccdbcab54224c5ae74ec2d965290f5","nvidia.json":"0e45bcd4d5a897f6f6785c0e257a9fb03691cef3ff87d9254da5daa5075468da","openai.json":"d61200cdd22d931dfff8181a5ed8d636c89fb34637dcec80f07ec24f8c2ef5c6","opencode-go.json":"2a5e0424854edfc0ef9a49033e80a8eb32c01a98c56ba2879b36a9502baa4027","opencode.json":"0e08d3fc23284852968106c4e0c17e85adedf729db145b8c7871e9bd999845b1","opengateway.json":"92262b093ece3a900faccc547e5dc19688548e7e41c360ddb657b2e9deb36e98","openrouter.json":"d96059102840108f70dfeed85cfcf7e5de7aee00cc0e1884510ecb5fd7671a7a","qwen-token-plan-cn.json":"751b18bd443fceb16659ea33013fed90fbf3bbdb4e0ffd7607c93cee2b4cf40d","qwen-token-plan-individual.json":"35ffb0ba1a1ce3f68fc73262dd5e07fbcb5bf5911ad1e6e17bc0621e2894676a","qwen-token-plan.json":"e59b0a45e238578f80d0eea937a093b9cec7cb93751ae20a9e88b16c09eb5cdd","radius.json":"5241be199f873fd7474b1ccb1fc911af223903af681909029fefe9fb8b49f83c","together.json":"a68b8386a2f28f9e1570d296223fdbdc0ebcca8a322ade5b999212c0e60b772c","typesafe.json":"83409437dbf4c353ac413c0db4e7cf29902fc35e0e0197bdb4eeda2d7f3b07cd","venice.json":"6614b0b42eaeae73be35239c630414df1268aef624de540781d0fd45a4962c72","vercel-ai-gateway.json":"bfca99a85ad33496c74b76ac9f153b1a246b1ab761cbf3ad99f7cf11aac63b76","xai.json":"cf3f475fe5a13625f858171900ba3456c4d95ebb0bac5060cc25e29bb31d3457","xiaomi-token-plan-ams.json":"7fa339ba5675460b1ff4e5bca9e8ad0aa60b0277d75a989b1c196aa6ca2af34d","xiaomi-token-plan-cn.json":"ef7917c6ea0d3edc655c8a52082ee5f1330658aa6f10199d8f164eb4605ef0a0","xiaomi-token-plan-sgp.json":"addda93f6b70ba879db97e3cfd2e4f2efc7cda47d7daa78c23c5b0e51162de5c","xiaomi.json":"5a42caf49d3e4d7946d60386e9899c2146bf8e3cbaff4c576ee4f49b398cc11c","zai-coding-cn.json":"2b6f85e04b5c568e320b1bde25b1c1614af9342e4c1ba0e1d5bb248aaf50cfe9","zai.json":"e9cc408e1756de8abc70148d63d89d11a63c65b7ef06ad0661cd1328e4209ba3"}}
1
+ {"schemaVersion":6,"generatedAt":"2026-10-31T17:51:49.646Z","structureHash":"57fd6541d19ef32ef3b37aacd18414dee651505144735bf9b5caea77750265f6","files":{"alibaba-token-plan.json":"9f4d42cc765b2a875bcdcaa392bfdc1323c88968309baf9db9f611a26c595c73","amazon-bedrock.json":"a7e20838b095788cb9d5acbde49664b7f2868fad9b10fb4bbbd66635085bca2d","ant-ling.json":"628feab3ef6c7d80ce96f75999804e1d9f05fec3851e5302e30fff3b69db90f6","anthropic.json":"111384e9f5845e0247bd34edf2400ef7720fcbdac140b944cf8878192d8bd6ab","azure-openai-responses.json":"fd64c6a2a99fa87d768ed2f75f5c7813876df1dbe2f0d1776f7d9bd7ce2e61e4","bai.json":"7e6861aaf27d8af34e1771c6092602194fcec0a0046e6adfab9c3ee54d32b99f","baseten.json":"5bd3c98c61769388b3724368ef964d16b7a58e41a6edcf4ebceb9d4ac0a21d3b","cerebras.json":"2eb969b2956844f9a641d3de52c19f1791293c58f607282fb3b0ebfe85ff66f8","chatgpt-subscription.json":"98320f1d51709d26ca047b3d6e3191cfe2f192f1b27897cbb492f47b0e5a5030","cloudflare-ai-gateway.json":"ac281b8cc18eb84ba61f215eff3234d14732cd66239617fb59d6812b13d6473f","cloudflare-workers-ai.json":"1b9ad4360bde817f0ea358431020308f1052840e2278a57a93629f1790072d2e","deepseek.json":"10a296fb3e898f7715c80890c8af0af4f5fd58f22dbcd6612fdc5d762157ccdc","fireworks.json":"56c557eb97573028e871c211cb17e1d60665eb12d67a712615db4bb255bc9253","github-copilot.json":"474fa92eb88ef242208ca93709ebe6d7f21754917d0cad6210bd1edf2b99a87e","google-vertex.json":"8f986b4aca8c685b0f3481bd252bda21e4858bf9015ad37fc5bcc44b7f01d076","google.json":"d25613a7377e81d785d571be514d67b35436511ce6946247dc66f8674e2a5035","groq.json":"087df37206e9eed8b10f1e558e4c496289bef60074b7e8afba4f20fb102b4ec2","huggingface.json":"209cdcf205961ef2ff203486da614232a86a069ebe0e98266189a14a235fac8f","meta.json":"563f5ec07973f52ab8c3eb26ef91a36ad8a79e950b37174935666cdcb624bf35","minimax-cn.json":"70df757e95e9ea2275bf451956b58a746020835f6cbcbd1a644d7fad5b9941d3","minimax.json":"747038b05f4fc24e41405e8bc810f893d7d5121e214e35e6f812f775769a3806","mistral.json":"aafecc66686645b1baa8c90e81c02856115f09999ff507f9bee004d2e1c77a28","moonshotai-cn.json":"a953eace729ef96c91195d477c63c776a1c40aa36085b61236ca1be0fe5b9337","moonshotai.json":"0435f9dc4e532c0764b6d33d8dfa83ce5fccdbcab54224c5ae74ec2d965290f5","nvidia.json":"0e45bcd4d5a897f6f6785c0e257a9fb03691cef3ff87d9254da5daa5075468da","openai.json":"d61200cdd22d931dfff8181a5ed8d636c89fb34637dcec80f07ec24f8c2ef5c6","opencode-go.json":"2a5e0424854edfc0ef9a49033e80a8eb32c01a98c56ba2879b36a9502baa4027","opencode.json":"0e08d3fc23284852968106c4e0c17e85adedf729db145b8c7871e9bd999845b1","opengateway.json":"bba79f6a44aa3d46ee7f3e1cb88ebe8b2126028c5a7342929a8dd65b4b2cdf81","openrouter.json":"e77968c7c47ab09718a51e61898dc1c5eb2be0bf5c22f80b2db5322ce9895cb7","qwen-token-plan-cn.json":"751b18bd443fceb16659ea33013fed90fbf3bbdb4e0ffd7607c93cee2b4cf40d","qwen-token-plan-individual.json":"35ffb0ba1a1ce3f68fc73262dd5e07fbcb5bf5911ad1e6e17bc0621e2894676a","qwen-token-plan.json":"e59b0a45e238578f80d0eea937a093b9cec7cb93751ae20a9e88b16c09eb5cdd","radius.json":"5241be199f873fd7474b1ccb1fc911af223903af681909029fefe9fb8b49f83c","together.json":"a68b8386a2f28f9e1570d296223fdbdc0ebcca8a322ade5b999212c0e60b772c","typesafe.json":"83409437dbf4c353ac413c0db4e7cf29902fc35e0e0197bdb4eeda2d7f3b07cd","venice.json":"6614b0b42eaeae73be35239c630414df1268aef624de540781d0fd45a4962c72","vercel-ai-gateway.json":"bfca99a85ad33496c74b76ac9f153b1a246b1ab761cbf3ad99f7cf11aac63b76","xai.json":"cf3f475fe5a13625f858171900ba3456c4d95ebb0bac5060cc25e29bb31d3457","xiaomi-token-plan-ams.json":"7fa339ba5675460b1ff4e5bca9e8ad0aa60b0277d75a989b1c196aa6ca2af34d","xiaomi-token-plan-cn.json":"ef7917c6ea0d3edc655c8a52082ee5f1330658aa6f10199d8f164eb4605ef0a0","xiaomi-token-plan-sgp.json":"addda93f6b70ba879db97e3cfd2e4f2efc7cda47d7daa78c23c5b0e51162de5c","xiaomi.json":"5a42caf49d3e4d7946d60386e9899c2146bf8e3cbaff4c576ee4f49b398cc11c","zai-coding-cn.json":"2b6f85e04b5c568e320b1bde25b1c1614af9342e4c1ba0e1d5bb248aaf50cfe9","zai.json":"e9cc408e1756de8abc70148d63d89d11a63c65b7ef06ad0661cd1328e4209ba3"}}
@@ -1 +1 @@
1
- {"openai-completions":{"chat:anthropic/claude-fable-5":{"id":"anthropic/claude-fable-5","name":"Claude Fable 5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":1,"cacheWrite":12.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-fable-5-1":{"id":"anthropic/claude-fable-5-1","name":"Claude Fable 5.1","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":0.25,"cacheWrite":12.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-haiku-4-5":{"id":"anthropic/claude-haiku-4-5","name":"Claude Haiku 4.5 (latest)","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":1,"output":5,"cacheRead":0.1,"cacheWrite":1.25},"contextWindow":200000,"maxTokens":64000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-haiku-5-5":{"id":"anthropic/claude-haiku-5-5","name":"Claude Haiku 5.5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.5,"cacheRead":0.01,"cacheWrite":0.125,"tiers":[{"inputTokensAbove":100000,"input":0.5,"output":2.5,"cacheRead":0.05,"cacheWrite":0.625}]},"contextWindow":100000,"maxTokens":32000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-opus-4-5":{"id":"anthropic/claude-opus-4-5","name":"Claude Opus 4.5 (latest)","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":200000,"maxTokens":64000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-opus-4-6":{"id":"anthropic/claude-opus-4-6","name":"Claude Opus 4.6","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-opus-4-7":{"id":"anthropic/claude-opus-4-7","name":"Claude Opus 4.7","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-opus-4-8":{"id":"anthropic/claude-opus-4-8","name":"Claude Opus 4.8","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-opus-5":{"id":"anthropic/claude-opus-5","name":"Claude Opus 5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-opus-5-5":{"id":"anthropic/claude-opus-5-5","name":"Claude Opus 5.5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":4,"output":20,"cacheRead":0.2,"cacheWrite":5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-sonnet-4-5":{"id":"anthropic/claude-sonnet-4-5","name":"Claude Sonnet 4.5 (latest)","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":200000,"maxTokens":64000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-sonnet-4-6":{"id":"anthropic/claude-sonnet-4-6","name":"Claude Sonnet 4.6","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":1000000,"maxTokens":64000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-sonnet-5":{"id":"anthropic/claude-sonnet-5","name":"Claude Sonnet 5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.2,"cacheWrite":2.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-sonnet-5-5":{"id":"anthropic/claude-sonnet-5-5","name":"Claude Sonnet 5.5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.1,"cacheWrite":2.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:deepseek/deepseek-flash":{"id":"deepseek/deepseek-flash","name":"DeepSeek V4.1 Flash 1017","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.15,"output":0.6,"cacheRead":0.003,"cacheWrite":0},"contextWindow":1000000,"maxTokens":393216,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:deepseek/deepseek-v4-flash":{"id":"deepseek/deepseek-v4-flash","name":"DeepSeek V4 Flash","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},"reasoning":true,"input":["text"],"cost":{"input":0.396,"output":1.188,"cacheRead":0.0126,"cacheWrite":0},"contextWindow":1000000,"maxTokens":393216,"thinkingLevelMap":{"minimal":null,"low":null,"medium":null,"high":"high","max":"max"},"type":"chat"},"chat:deepseek/deepseek-v4-pro":{"id":"deepseek/deepseek-v4-pro","name":"DeepSeek V4 Pro","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},"reasoning":true,"input":["text"],"cost":{"input":1.188,"output":3.564,"cacheRead":0.0396,"cacheWrite":0},"contextWindow":1000000,"maxTokens":393216,"thinkingLevelMap":{"minimal":null,"low":null,"medium":null,"high":"high","max":"max"},"type":"chat"},"chat:deepseek/deepseek-v4.1-flash-ultrafast":{"id":"deepseek/deepseek-v4.1-flash-ultrafast","name":"DeepSeek V4.1 Flash Ultrafast","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},"reasoning":true,"input":["text","image"],"cost":{"input":0.03,"output":0.12,"cacheRead":0.0006,"cacheWrite":0,"tiers":[{"inputTokensAbove":256000,"input":0.06,"output":0.24,"cacheRead":0.0012,"cacheWrite":0.06}]},"contextWindow":1000000,"maxTokens":65536,"thinkingLevelMap":{"minimal":null,"low":null,"medium":null,"high":"high","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-2.5-flash":{"id":"google/gemini-2.5-flash","name":"Gemini 2.5 Flash","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":2.5,"cacheRead":0.03,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-2.5-flash-lite":{"id":"google/gemini-2.5-flash-lite","name":"Gemini 2.5 Flash-Lite","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.4,"cacheRead":0.01,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-2.5-pro":{"id":"google/gemini-2.5-pro","name":"Gemini 2.5 Pro","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0,"tiers":[{"inputTokensAbove":200000,"input":2.5,"output":15,"cacheRead":0.25,"cacheWrite":0.25}]},"contextWindow":1048576,"maxTokens":65536,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-3-flash-preview":{"id":"google/gemini-3-flash-preview","name":"Gemini 3 Flash Preview","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.5,"output":3,"cacheRead":0.05,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536,"thinkingLevelMap":{"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-3.1-flash-lite":{"id":"google/gemini-3.1-flash-lite","name":"Gemini 3.1 Flash Lite","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":1.5,"cacheRead":0.025,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536,"thinkingLevelMap":{"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-3.1-pro-preview":{"id":"google/gemini-3.1-pro-preview","name":"Gemini 3.1 Pro Preview","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":12,"cacheRead":0.2,"cacheWrite":0,"tiers":[{"inputTokensAbove":200000,"input":4,"output":18,"cacheRead":0.4,"cacheWrite":0.25}]},"contextWindow":1048576,"maxTokens":65536,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-3.5-flash":{"id":"google/gemini-3.5-flash","name":"Gemini 3.5 Flash","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.5,"output":9,"cacheRead":0.15,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536,"thinkingLevelMap":{"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-3.5-flash-lite":{"id":"google/gemini-3.5-flash-lite","name":"Gemini 3.5 Flash Lite","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":2.5,"cacheRead":0.03,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536,"thinkingLevelMap":{"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:minimax/MiniMax-M2.5":{"id":"minimax/MiniMax-M2.5","name":"MiniMax-M2.5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.03,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131072,"type":"chat"},"chat:minimax/MiniMax-M2.7":{"id":"minimax/MiniMax-M2.7","name":"MiniMax-M2.7","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.06,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131072,"type":"chat"},"chat:minimax/MiniMax-M3":{"id":"minimax/MiniMax-M3","name":"MiniMax-M3","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.06,"cacheWrite":0,"tiers":[{"inputTokensAbove":512000,"input":0.6,"output":2.4,"cacheRead":0.12,"cacheWrite":0}]},"contextWindow":1000000,"maxTokens":524288,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:moonshotai/kimi-k2.6":{"id":"moonshotai/kimi-k2.6","name":"Kimi K2.6","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.95,"output":4,"cacheRead":0.16,"cacheWrite":0},"contextWindow":262144,"maxTokens":262144,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:moonshotai/kimi-k3":{"id":"moonshotai/kimi-k3","name":"Kimi K3","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3},"contextWindow":1000000,"maxTokens":1048576,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:moonshotai/kimi-k3-ultrafast":{"id":"moonshotai/kimi-k3-ultrafast","name":"Kimi K3 Ultrafast","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":0},"contextWindow":262144,"maxTokens":20480,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:moonshotai/kimi-k3.1-pro":{"id":"moonshotai/kimi-k3.1-pro","name":"Kimi K3.1 Pro","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.2,"cacheWrite":2},"contextWindow":1048576,"maxTokens":1048576,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:moonshotai/kimi-k3.1-pro-highspeed":{"id":"moonshotai/kimi-k3.1-pro-highspeed","name":"Kimi K3.1 Pro Highspeed","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":4,"output":20,"cacheRead":0.2,"cacheWrite":4},"contextWindow":1048576,"maxTokens":1048576,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-3.5-turbo-0125":{"id":"openai/gpt-3.5-turbo-0125","name":"GPT-3.5 Turbo (0125)","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":false,"input":["text"],"cost":{"input":0.5,"output":1.5,"cacheRead":0,"cacheWrite":0},"contextWindow":16385,"maxTokens":4096,"type":"chat"},"chat:openai/gpt-4":{"id":"openai/gpt-4","name":"GPT-4","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":false,"input":["text"],"cost":{"input":30,"output":60,"cacheRead":0,"cacheWrite":0},"contextWindow":8192,"maxTokens":8192,"type":"chat"},"chat:openai/gpt-4-0613":{"id":"openai/gpt-4-0613","name":"GPT-4 (0613)","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":false,"input":["text"],"cost":{"input":30,"output":60,"cacheRead":0,"cacheWrite":0},"contextWindow":8192,"maxTokens":8192,"type":"chat"},"chat:openai/gpt-4-turbo":{"id":"openai/gpt-4-turbo","name":"GPT-4 Turbo","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":false,"input":["text"],"cost":{"input":11,"output":33,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":4096,"type":"chat"},"chat:openai/gpt-4.1":{"id":"openai/gpt-4.1","name":"GPT-4.1","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":false,"input":["text","image"],"cost":{"input":2,"output":8,"cacheRead":0.5,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-4.1-mini":{"id":"openai/gpt-4.1-mini","name":"GPT-4.1 mini","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":false,"input":["text","image"],"cost":{"input":0.4,"output":1.6,"cacheRead":0.1,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-4.1-nano":{"id":"openai/gpt-4.1-nano","name":"GPT-4.1 nano","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":false,"input":["text","image"],"cost":{"input":0.1,"output":0.4,"cacheRead":0.025,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-4o":{"id":"openai/gpt-4o","name":"GPT-4o","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":false,"input":["text","image"],"cost":{"input":2.5,"output":10,"cacheRead":1.25,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-4o-mini":{"id":"openai/gpt-4o-mini","name":"GPT-4o mini","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":false,"input":["text","image"],"cost":{"input":0.15,"output":0.6,"cacheRead":0.075,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5":{"id":"openai/gpt-5","name":"GPT-5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":272000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5-mini":{"id":"openai/gpt-5-mini","name":"GPT-5 Mini","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":2,"cacheRead":0.025,"cacheWrite":0},"contextWindow":272000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5-nano":{"id":"openai/gpt-5-nano","name":"GPT-5 Nano","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.05,"output":0.4,"cacheRead":0.005,"cacheWrite":0},"contextWindow":272000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.1":{"id":"openai/gpt-5.1","name":"GPT-5.1","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":272000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.2":{"id":"openai/gpt-5.2","name":"GPT-5.2","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.75,"output":14,"cacheRead":0.175,"cacheWrite":0},"contextWindow":272000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.4":{"id":"openai/gpt-5.4","name":"GPT-5.4","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":2.5,"output":15,"cacheRead":0.25,"cacheWrite":0,"tiers":[{"inputTokensAbove":272000,"input":5,"output":22.5,"cacheRead":0.5,"cacheWrite":0}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.4-mini":{"id":"openai/gpt-5.4-mini","name":"GPT-5.4 mini","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.75,"output":4.5,"cacheRead":0.075,"cacheWrite":0},"contextWindow":272000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.4-nano":{"id":"openai/gpt-5.4-nano","name":"GPT-5.4 nano","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":1.25,"cacheRead":0.02,"cacheWrite":0},"contextWindow":272000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.5":{"id":"openai/gpt-5.5","name":"GPT-5.5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":5,"output":30,"cacheRead":0.5,"cacheWrite":0,"tiers":[{"inputTokensAbove":272000,"input":10,"output":45,"cacheRead":1,"cacheWrite":0}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.6":{"id":"openai/gpt-5.6","name":"GPT-5.6","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":4,"output":20,"cacheRead":0.4,"cacheWrite":5,"tiers":[{"inputTokensAbove":272000,"input":8,"output":30,"cacheRead":0.8,"cacheWrite":10}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.6-luna":{"id":"openai/gpt-5.6-luna","name":"GPT-5.6 Luna","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":1.2,"cacheRead":0.02,"cacheWrite":0.25,"tiers":[{"inputTokensAbove":272000,"input":0.4,"output":1.8,"cacheRead":0.04,"cacheWrite":0}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.6-sol":{"id":"openai/gpt-5.6-sol","name":"GPT-5.6 Sol","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":4,"output":20,"cacheRead":0.4,"cacheWrite":5,"tiers":[{"inputTokensAbove":272000,"input":8,"output":30,"cacheRead":0.8,"cacheWrite":10}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.6-terra":{"id":"openai/gpt-5.6-terra","name":"GPT-5.6 Terra","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":12,"cacheRead":0.2,"cacheWrite":2.5,"tiers":[{"inputTokensAbove":272000,"input":4,"output":18,"cacheRead":0.4,"cacheWrite":0}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-6-astra":{"id":"openai/gpt-6-astra","name":"GPT-6 Astra","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":1,"cacheWrite":12.5,"tiers":[{"inputTokensAbove":272000,"input":20,"output":75,"cacheRead":2,"cacheWrite":25}]},"contextWindow":600000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-6-luna":{"id":"openai/gpt-6-luna","name":"GPT-6 Luna","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.5,"cacheRead":0.01,"cacheWrite":0.125,"tiers":[{"inputTokensAbove":272000,"input":0.2,"output":0.75,"cacheRead":0.02,"cacheWrite":0.25}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-6-sol":{"id":"openai/gpt-6-sol","name":"GPT-6 Sol","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.2,"cacheWrite":2.5,"tiers":[{"inputTokensAbove":272000,"input":4,"output":15,"cacheRead":0.4,"cacheWrite":5}]},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-6.1-sol":{"id":"openai/gpt-6.1-sol","name":"GPT-6.1 Sol","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.1,"cacheWrite":2.5,"tiers":[{"inputTokensAbove":272000,"input":4,"output":15,"cacheRead":0.2,"cacheWrite":5}]},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-6.1-terra":{"id":"openai/gpt-6.1-terra","name":"GPT-6.1 Terra","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":1,"output":5,"cacheRead":0.05,"cacheWrite":1.25,"tiers":[{"inputTokensAbove":272000,"input":2,"output":7.5,"cacheRead":0.1,"cacheWrite":2.5}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/o1":{"id":"openai/o1","name":"o1","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text"],"cost":{"input":15,"output":60,"cacheRead":7.5,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"type":"chat"},"chat:openai/o3":{"id":"openai/o3","name":"o3","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":8,"cacheRead":0.5,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/o3-mini":{"id":"openai/o3-mini","name":"o3-mini","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text"],"cost":{"input":1.1,"output":4.4,"cacheRead":0.55,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"type":"chat"},"chat:openai/o4-mini":{"id":"openai/o4-mini","name":"o4-mini","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.1,"output":4.4,"cacheRead":0.275,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:qwen/qwen-flash":{"id":"qwen/qwen-flash","name":"Qwen Flash","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text"],"cost":{"input":0.05,"output":0.4,"cacheRead":0.01,"cacheWrite":0.0625,"tiers":[{"inputTokensAbove":256000,"input":0.25,"output":2,"cacheRead":0,"cacheWrite":0}]},"contextWindow":997952,"maxTokens":32768,"type":"chat"},"chat:qwen/qwen3.7-max":{"id":"qwen/qwen3.7-max","name":"Qwen3.7 Max","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text"],"cost":{"input":2.5,"output":7.5,"cacheRead":0.5,"cacheWrite":3.125},"contextWindow":983616,"maxTokens":131072,"type":"chat"},"chat:qwen/qwen3.7-plus":{"id":"qwen/qwen3.7-plus","name":"Qwen3.7 Plus","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.36,"output":1.44,"cacheRead":0.08,"cacheWrite":0.5,"tiers":[{"inputTokensAbove":256000,"input":1.08,"output":4.32,"cacheRead":0,"cacheWrite":0}]},"contextWindow":983616,"maxTokens":131072,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:qwen/qwen3.8-flash":{"id":"qwen/qwen3.8-flash","name":"Qwen3.8 Flash","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.15,"output":0.47,"cacheRead":0.016,"cacheWrite":0.2},"contextWindow":983616,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":null,"xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:qwen/qwen3.8-max":{"id":"qwen/qwen3.8-max","name":"Qwen3.8 Max","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.53,"output":4.59,"cacheRead":0.13005,"cacheWrite":1.9125},"contextWindow":983616,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":null,"xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:x-ai/grok-4-1-fast":{"id":"x-ai/grok-4-1-fast","name":"Grok 4.1 Fast","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":0.5,"cacheRead":0.05,"cacheWrite":0},"contextWindow":2000000,"maxTokens":30000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:x-ai/grok-4.20":{"id":"x-ai/grok-4.20","name":"Grok 4.20","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1800000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:x-ai/grok-4.3":{"id":"x-ai/grok-4.3","name":"Grok 4.3","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0,"tiers":[{"inputTokensAbove":200000,"input":2.5,"output":5,"cacheRead":0.4,"cacheWrite":0}]},"contextWindow":1000000,"maxTokens":30000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:x-ai/grok-4.5":{"id":"x-ai/grok-4.5","name":"Grok 4.5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":6,"cacheRead":0.3,"cacheWrite":0,"tiers":[{"inputTokensAbove":200000,"input":4,"output":12,"cacheRead":0.6,"cacheWrite":0}]},"contextWindow":500000,"maxTokens":500000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:x-ai/grok-4.6":{"id":"x-ai/grok-4.6","name":"Grok 4.6","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":6,"cacheRead":0.5,"cacheWrite":0,"tiers":[{"inputTokensAbove":200000,"input":4,"output":12,"cacheRead":1,"cacheWrite":0}]},"contextWindow":500000,"maxTokens":500000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:x-ai/grok-4.7":{"id":"x-ai/grok-4.7","name":"Grok 4.7","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":6,"cacheRead":0.5,"cacheWrite":0,"tiers":[{"inputTokensAbove":200000,"input":4,"output":12,"cacheRead":1,"cacheWrite":0}]},"contextWindow":500000,"maxTokens":500000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:z-ai/glm-5.1":{"id":"z-ai/glm-5.1","name":"GLM-5.1","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text"],"cost":{"input":1.26,"output":3.96,"cacheRead":0.234,"cacheWrite":0},"contextWindow":200000,"maxTokens":131072,"type":"chat"},"chat:z-ai/glm-5.2":{"id":"z-ai/glm-5.2","name":"GLM-5.2","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text"],"cost":{"input":1.26,"output":3.96,"cacheRead":0.234,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":"max"},"type":"chat"},"chat:z-ai/glm-5.2-ultrafast":{"id":"z-ai/glm-5.2-ultrafast","name":"GLM-5.2 Ultrafast","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text"],"cost":{"input":2.4,"output":12,"cacheRead":0.45,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":"max"},"type":"chat"},"chat:z-ai/glm-5.3":{"id":"z-ai/glm-5.3","name":"GLM-5.3","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text"],"cost":{"input":1.4,"output":4.4,"cacheRead":0.26,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"type":"chat"},"chat:z-ai/glm-5.3-flash":{"id":"z-ai/glm-5.3-flash","name":"GLM-5.3-Flash","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.135,"output":0.45,"cacheRead":0.027,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:z-ai/glm-5.3-flash-ultrafast":{"id":"z-ai/glm-5.3-flash-ultrafast","name":"GLM-5.3-Flash Ultrafast","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.045,"output":0.15,"cacheRead":0.009,"cacheWrite":0,"tiers":[{"inputTokensAbove":256000,"input":0.09,"output":0.3,"cacheRead":0.018,"cacheWrite":0.09}]},"contextWindow":1000000,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:z-ai/glm-5.3-ultrafast":{"id":"z-ai/glm-5.3-ultrafast","name":"GLM-5.3 Ultrafast","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false},"reasoning":true,"input":["text"],"cost":{"input":1.2,"output":6,"cacheRead":0.225,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"type":"chat"}}}
1
+ {"openai-completions":{"chat:anthropic/claude-fable-5":{"id":"anthropic/claude-fable-5","name":"Claude Fable 5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":1,"cacheWrite":12.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-fable-5-1":{"id":"anthropic/claude-fable-5-1","name":"Claude Fable 5.1","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":0.25,"cacheWrite":12.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-haiku-4-5":{"id":"anthropic/claude-haiku-4-5","name":"Claude Haiku 4.5 (latest)","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":1,"output":5,"cacheRead":0.1,"cacheWrite":1.25},"contextWindow":200000,"maxTokens":64000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-haiku-5-5":{"id":"anthropic/claude-haiku-5-5","name":"Claude Haiku 5.5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.5,"cacheRead":0.01,"cacheWrite":0.125,"tiers":[{"inputTokensAbove":100000,"input":0.5,"output":2.5,"cacheRead":0.05,"cacheWrite":0.625}]},"contextWindow":100000,"maxTokens":32000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-opus-4-5":{"id":"anthropic/claude-opus-4-5","name":"Claude Opus 4.5 (latest)","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":200000,"maxTokens":64000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-opus-4-6":{"id":"anthropic/claude-opus-4-6","name":"Claude Opus 4.6","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-opus-4-7":{"id":"anthropic/claude-opus-4-7","name":"Claude Opus 4.7","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-opus-4-8":{"id":"anthropic/claude-opus-4-8","name":"Claude Opus 4.8","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-opus-5":{"id":"anthropic/claude-opus-5","name":"Claude Opus 5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-opus-5-5":{"id":"anthropic/claude-opus-5-5","name":"Claude Opus 5.5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":4,"output":20,"cacheRead":0.2,"cacheWrite":5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-sonnet-4-5":{"id":"anthropic/claude-sonnet-4-5","name":"Claude Sonnet 4.5 (latest)","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":200000,"maxTokens":64000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-sonnet-4-6":{"id":"anthropic/claude-sonnet-4-6","name":"Claude Sonnet 4.6","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":1000000,"maxTokens":64000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-sonnet-5":{"id":"anthropic/claude-sonnet-5","name":"Claude Sonnet 5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.2,"cacheWrite":2.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:anthropic/claude-sonnet-5-5":{"id":"anthropic/claude-sonnet-5-5","name":"Claude Sonnet 5.5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.1,"cacheWrite":2.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:deepseek/deepseek-flash":{"id":"deepseek/deepseek-flash","name":"DeepSeek V4.1 Flash 1017","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.15,"output":0.6,"cacheRead":0.003,"cacheWrite":0},"contextWindow":1000000,"maxTokens":393216,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:deepseek/deepseek-v4-flash":{"id":"deepseek/deepseek-v4-flash","name":"DeepSeek V4 Flash","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false,"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},"reasoning":true,"input":["text"],"cost":{"input":0.396,"output":1.188,"cacheRead":0.0126,"cacheWrite":0},"contextWindow":1000000,"maxTokens":393216,"thinkingLevelMap":{"minimal":null,"low":null,"medium":null,"high":"high","max":"max"},"type":"chat"},"chat:deepseek/deepseek-v4-pro":{"id":"deepseek/deepseek-v4-pro","name":"DeepSeek V4 Pro","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false,"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},"reasoning":true,"input":["text"],"cost":{"input":1.188,"output":3.564,"cacheRead":0.0396,"cacheWrite":0},"contextWindow":1000000,"maxTokens":393216,"thinkingLevelMap":{"minimal":null,"low":null,"medium":null,"high":"high","max":"max"},"type":"chat"},"chat:deepseek/deepseek-v4.1-flash-ultrafast":{"id":"deepseek/deepseek-v4.1-flash-ultrafast","name":"DeepSeek V4.1 Flash Ultrafast","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false,"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},"reasoning":true,"input":["text","image"],"cost":{"input":0.09,"output":0.36,"cacheRead":0.0018,"cacheWrite":0,"tiers":[{"inputTokensAbove":256000,"input":0.18,"output":0.72,"cacheRead":0.0036,"cacheWrite":0.18}]},"contextWindow":1000000,"maxTokens":65536,"thinkingLevelMap":{"minimal":null,"low":null,"medium":null,"high":"high","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-2.5-flash":{"id":"google/gemini-2.5-flash","name":"Gemini 2.5 Flash","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":2.5,"cacheRead":0.03,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-2.5-flash-lite":{"id":"google/gemini-2.5-flash-lite","name":"Gemini 2.5 Flash-Lite","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.4,"cacheRead":0.01,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-2.5-pro":{"id":"google/gemini-2.5-pro","name":"Gemini 2.5 Pro","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0,"tiers":[{"inputTokensAbove":200000,"input":2.5,"output":15,"cacheRead":0.25,"cacheWrite":0.25}]},"contextWindow":1048576,"maxTokens":65536,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-3-flash-preview":{"id":"google/gemini-3-flash-preview","name":"Gemini 3 Flash Preview","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.5,"output":3,"cacheRead":0.05,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536,"thinkingLevelMap":{"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-3.1-flash-lite":{"id":"google/gemini-3.1-flash-lite","name":"Gemini 3.1 Flash Lite","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":1.5,"cacheRead":0.025,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536,"thinkingLevelMap":{"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-3.1-pro-preview":{"id":"google/gemini-3.1-pro-preview","name":"Gemini 3.1 Pro Preview","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":12,"cacheRead":0.2,"cacheWrite":0,"tiers":[{"inputTokensAbove":200000,"input":4,"output":18,"cacheRead":0.4,"cacheWrite":0.25}]},"contextWindow":1048576,"maxTokens":65536,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-3.5-flash":{"id":"google/gemini-3.5-flash","name":"Gemini 3.5 Flash","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.5,"output":9,"cacheRead":0.15,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536,"thinkingLevelMap":{"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:google/gemini-3.5-flash-lite":{"id":"google/gemini-3.5-flash-lite","name":"Gemini 3.5 Flash Lite","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":2.5,"cacheRead":0.03,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536,"thinkingLevelMap":{"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:minimax/MiniMax-M2.5":{"id":"minimax/MiniMax-M2.5","name":"MiniMax-M2.5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.03,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131072,"type":"chat"},"chat:minimax/MiniMax-M2.7":{"id":"minimax/MiniMax-M2.7","name":"MiniMax-M2.7","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.06,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131072,"type":"chat"},"chat:minimax/MiniMax-M3":{"id":"minimax/MiniMax-M3","name":"MiniMax-M3","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.06,"cacheWrite":0,"tiers":[{"inputTokensAbove":512000,"input":0.6,"output":2.4,"cacheRead":0.12,"cacheWrite":0}]},"contextWindow":1000000,"maxTokens":524288,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:moonshotai/kimi-k2.6":{"id":"moonshotai/kimi-k2.6","name":"Kimi K2.6","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.95,"output":4,"cacheRead":0.16,"cacheWrite":0},"contextWindow":262144,"maxTokens":262144,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:moonshotai/kimi-k3":{"id":"moonshotai/kimi-k3","name":"Kimi K3","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3},"contextWindow":1000000,"maxTokens":1048576,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:moonshotai/kimi-k3-ultrafast":{"id":"moonshotai/kimi-k3-ultrafast","name":"Kimi K3 Ultrafast","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":0},"contextWindow":262144,"maxTokens":20480,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:moonshotai/kimi-k3.1-pro":{"id":"moonshotai/kimi-k3.1-pro","name":"Kimi K3.1 Pro","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.2,"cacheWrite":2},"contextWindow":1048576,"maxTokens":1048576,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:moonshotai/kimi-k3.1-pro-highspeed":{"id":"moonshotai/kimi-k3.1-pro-highspeed","name":"Kimi K3.1 Pro Highspeed","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":4,"output":20,"cacheRead":0.2,"cacheWrite":4},"contextWindow":1048576,"maxTokens":1048576,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-3.5-turbo-0125":{"id":"openai/gpt-3.5-turbo-0125","name":"GPT-3.5 Turbo (0125)","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":false,"input":["text"],"cost":{"input":0.5,"output":1.5,"cacheRead":0,"cacheWrite":0},"contextWindow":16385,"maxTokens":4096,"type":"chat"},"chat:openai/gpt-4":{"id":"openai/gpt-4","name":"GPT-4","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":false,"input":["text"],"cost":{"input":30,"output":60,"cacheRead":0,"cacheWrite":0},"contextWindow":8192,"maxTokens":8192,"type":"chat"},"chat:openai/gpt-4-0613":{"id":"openai/gpt-4-0613","name":"GPT-4 (0613)","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":false,"input":["text"],"cost":{"input":30,"output":60,"cacheRead":0,"cacheWrite":0},"contextWindow":8192,"maxTokens":8192,"type":"chat"},"chat:openai/gpt-4-turbo":{"id":"openai/gpt-4-turbo","name":"GPT-4 Turbo","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":false,"input":["text"],"cost":{"input":11,"output":33,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":4096,"type":"chat"},"chat:openai/gpt-4.1":{"id":"openai/gpt-4.1","name":"GPT-4.1","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":false,"input":["text","image"],"cost":{"input":2,"output":8,"cacheRead":0.5,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-4.1-mini":{"id":"openai/gpt-4.1-mini","name":"GPT-4.1 mini","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":false,"input":["text","image"],"cost":{"input":0.4,"output":1.6,"cacheRead":0.1,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-4.1-nano":{"id":"openai/gpt-4.1-nano","name":"GPT-4.1 nano","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":false,"input":["text","image"],"cost":{"input":0.1,"output":0.4,"cacheRead":0.025,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-4o":{"id":"openai/gpt-4o","name":"GPT-4o","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":false,"input":["text","image"],"cost":{"input":2.5,"output":10,"cacheRead":1.25,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-4o-mini":{"id":"openai/gpt-4o-mini","name":"GPT-4o mini","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":false,"input":["text","image"],"cost":{"input":0.15,"output":0.6,"cacheRead":0.075,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5":{"id":"openai/gpt-5","name":"GPT-5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":272000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5-mini":{"id":"openai/gpt-5-mini","name":"GPT-5 Mini","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":2,"cacheRead":0.025,"cacheWrite":0},"contextWindow":272000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5-nano":{"id":"openai/gpt-5-nano","name":"GPT-5 Nano","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.05,"output":0.4,"cacheRead":0.005,"cacheWrite":0},"contextWindow":272000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.1":{"id":"openai/gpt-5.1","name":"GPT-5.1","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":272000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.2":{"id":"openai/gpt-5.2","name":"GPT-5.2","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.75,"output":14,"cacheRead":0.175,"cacheWrite":0},"contextWindow":272000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.4":{"id":"openai/gpt-5.4","name":"GPT-5.4","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":2.5,"output":15,"cacheRead":0.25,"cacheWrite":0,"tiers":[{"inputTokensAbove":272000,"input":5,"output":22.5,"cacheRead":0.5,"cacheWrite":0}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.4-mini":{"id":"openai/gpt-5.4-mini","name":"GPT-5.4 mini","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.75,"output":4.5,"cacheRead":0.075,"cacheWrite":0},"contextWindow":272000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.4-nano":{"id":"openai/gpt-5.4-nano","name":"GPT-5.4 nano","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":1.25,"cacheRead":0.02,"cacheWrite":0},"contextWindow":272000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.5":{"id":"openai/gpt-5.5","name":"GPT-5.5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":5,"output":30,"cacheRead":0.5,"cacheWrite":0,"tiers":[{"inputTokensAbove":272000,"input":10,"output":45,"cacheRead":1,"cacheWrite":0}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.6":{"id":"openai/gpt-5.6","name":"GPT-5.6","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":4,"output":20,"cacheRead":0.4,"cacheWrite":5,"tiers":[{"inputTokensAbove":272000,"input":8,"output":30,"cacheRead":0.8,"cacheWrite":10}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.6-luna":{"id":"openai/gpt-5.6-luna","name":"GPT-5.6 Luna","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":1.2,"cacheRead":0.02,"cacheWrite":0.25,"tiers":[{"inputTokensAbove":272000,"input":0.4,"output":1.8,"cacheRead":0.04,"cacheWrite":0}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.6-sol":{"id":"openai/gpt-5.6-sol","name":"GPT-5.6 Sol","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":4,"output":20,"cacheRead":0.4,"cacheWrite":5,"tiers":[{"inputTokensAbove":272000,"input":8,"output":30,"cacheRead":0.8,"cacheWrite":10}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-5.6-terra":{"id":"openai/gpt-5.6-terra","name":"GPT-5.6 Terra","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":12,"cacheRead":0.2,"cacheWrite":2.5,"tiers":[{"inputTokensAbove":272000,"input":4,"output":18,"cacheRead":0.4,"cacheWrite":0}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-6-astra":{"id":"openai/gpt-6-astra","name":"GPT-6 Astra","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":1,"cacheWrite":12.5,"tiers":[{"inputTokensAbove":272000,"input":20,"output":75,"cacheRead":2,"cacheWrite":25}]},"contextWindow":600000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-6-luna":{"id":"openai/gpt-6-luna","name":"GPT-6 Luna","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.5,"cacheRead":0.01,"cacheWrite":0.125,"tiers":[{"inputTokensAbove":272000,"input":0.2,"output":0.75,"cacheRead":0.02,"cacheWrite":0.25}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-6-sol":{"id":"openai/gpt-6-sol","name":"GPT-6 Sol","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.2,"cacheWrite":2.5,"tiers":[{"inputTokensAbove":272000,"input":4,"output":15,"cacheRead":0.4,"cacheWrite":5}]},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-6.1-sol":{"id":"openai/gpt-6.1-sol","name":"GPT-6.1 Sol","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.1,"cacheWrite":2.5,"tiers":[{"inputTokensAbove":272000,"input":4,"output":15,"cacheRead":0.2,"cacheWrite":5}]},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-6.1-terra":{"id":"openai/gpt-6.1-terra","name":"GPT-6.1 Terra","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":1,"output":5,"cacheRead":0.05,"cacheWrite":1.25,"tiers":[{"inputTokensAbove":272000,"input":2,"output":7.5,"cacheRead":0.1,"cacheWrite":2.5}]},"contextWindow":922000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/o1":{"id":"openai/o1","name":"o1","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text"],"cost":{"input":15,"output":60,"cacheRead":7.5,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"type":"chat"},"chat:openai/o3":{"id":"openai/o3","name":"o3","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":8,"cacheRead":0.5,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/o3-mini":{"id":"openai/o3-mini","name":"o3-mini","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text"],"cost":{"input":1.1,"output":4.4,"cacheRead":0.55,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"type":"chat"},"chat:openai/o4-mini":{"id":"openai/o4-mini","name":"o4-mini","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.1,"output":4.4,"cacheRead":0.275,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:qwen/qwen-flash":{"id":"qwen/qwen-flash","name":"Qwen Flash","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text"],"cost":{"input":0.05,"output":0.4,"cacheRead":0.01,"cacheWrite":0.0625,"tiers":[{"inputTokensAbove":256000,"input":0.25,"output":2,"cacheRead":0,"cacheWrite":0}]},"contextWindow":997952,"maxTokens":32768,"type":"chat"},"chat:qwen/qwen3.7-max":{"id":"qwen/qwen3.7-max","name":"Qwen3.7 Max","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text"],"cost":{"input":2.5,"output":7.5,"cacheRead":0.5,"cacheWrite":3.125},"contextWindow":983616,"maxTokens":131072,"type":"chat"},"chat:qwen/qwen3.7-plus":{"id":"qwen/qwen3.7-plus","name":"Qwen3.7 Plus","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.36,"output":1.44,"cacheRead":0.08,"cacheWrite":0.5,"tiers":[{"inputTokensAbove":256000,"input":1.08,"output":4.32,"cacheRead":0,"cacheWrite":0}]},"contextWindow":983616,"maxTokens":131072,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:qwen/qwen3.8-flash":{"id":"qwen/qwen3.8-flash","name":"Qwen3.8 Flash","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.15,"output":0.47,"cacheRead":0.016,"cacheWrite":0.2},"contextWindow":983616,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":null,"xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:qwen/qwen3.8-max":{"id":"qwen/qwen3.8-max","name":"Qwen3.8 Max","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.53,"output":4.59,"cacheRead":0.13005,"cacheWrite":1.9125},"contextWindow":983616,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":null,"xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:x-ai/grok-4-1-fast":{"id":"x-ai/grok-4-1-fast","name":"Grok 4.1 Fast","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":0.5,"cacheRead":0.05,"cacheWrite":0},"contextWindow":2000000,"maxTokens":30000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:x-ai/grok-4.20":{"id":"x-ai/grok-4.20","name":"Grok 4.20","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1800000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:x-ai/grok-4.3":{"id":"x-ai/grok-4.3","name":"Grok 4.3","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0,"tiers":[{"inputTokensAbove":200000,"input":2.5,"output":5,"cacheRead":0.4,"cacheWrite":0}]},"contextWindow":1000000,"maxTokens":30000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:x-ai/grok-4.5":{"id":"x-ai/grok-4.5","name":"Grok 4.5","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":6,"cacheRead":0.3,"cacheWrite":0,"tiers":[{"inputTokensAbove":200000,"input":4,"output":12,"cacheRead":0.6,"cacheWrite":0}]},"contextWindow":500000,"maxTokens":500000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:x-ai/grok-4.6":{"id":"x-ai/grok-4.6","name":"Grok 4.6","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":6,"cacheRead":0.5,"cacheWrite":0,"tiers":[{"inputTokensAbove":200000,"input":4,"output":12,"cacheRead":1,"cacheWrite":0}]},"contextWindow":500000,"maxTokens":500000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:x-ai/grok-4.7":{"id":"x-ai/grok-4.7","name":"Grok 4.7","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":2,"output":6,"cacheRead":0.5,"cacheWrite":0,"tiers":[{"inputTokensAbove":200000,"input":4,"output":12,"cacheRead":1,"cacheWrite":0}]},"contextWindow":500000,"maxTokens":500000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:z-ai/glm-5.1":{"id":"z-ai/glm-5.1","name":"GLM-5.1","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text"],"cost":{"input":1.26,"output":3.96,"cacheRead":0.234,"cacheWrite":0},"contextWindow":200000,"maxTokens":131072,"type":"chat"},"chat:z-ai/glm-5.2":{"id":"z-ai/glm-5.2","name":"GLM-5.2","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text"],"cost":{"input":1.26,"output":3.96,"cacheRead":0.234,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":"max"},"type":"chat"},"chat:z-ai/glm-5.2-ultrafast":{"id":"z-ai/glm-5.2-ultrafast","name":"GLM-5.2 Ultrafast","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text"],"cost":{"input":2.4,"output":12,"cacheRead":0.45,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":"max"},"type":"chat"},"chat:z-ai/glm-5.3":{"id":"z-ai/glm-5.3","name":"GLM-5.3","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text"],"cost":{"input":1.4,"output":4.4,"cacheRead":0.26,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"type":"chat"},"chat:z-ai/glm-5.3-flash":{"id":"z-ai/glm-5.3-flash","name":"GLM-5.3-Flash","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.135,"output":0.45,"cacheRead":0.027,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:z-ai/glm-5.3-flash-ultrafast":{"id":"z-ai/glm-5.3-flash-ultrafast","name":"GLM-5.3-Flash Ultrafast","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text","image"],"cost":{"input":0.045,"output":0.15,"cacheRead":0.009,"cacheWrite":0,"tiers":[{"inputTokensAbove":256000,"input":0.09,"output":0.3,"cacheRead":0.018,"cacheWrite":0.09}]},"contextWindow":1000000,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:z-ai/glm-5.3-ultrafast":{"id":"z-ai/glm-5.3-ultrafast","name":"GLM-5.3 Ultrafast","api":"openai-completions","provider":"opengateway","baseUrl":"https://apis.opengateway.ai/v1","compat":{"supportsStrictMode":true,"supportsDeveloperRole":false,"mixedStrictTools":false},"reasoning":true,"input":["text"],"cost":{"input":1.2,"output":6,"cacheRead":0.225,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"type":"chat"}}}