import * as EventEmitter from 'events';
import EventEmitter__default, { EventEmitter as EventEmitter$1 } from 'events';
import * as axios from 'axios';

type RouterModel = 
/** Anthropic: Claude Sonnet 4.5
@capabilities include_reasoning, max_tokens, reasoning, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 1000000
@url https://openrouter.ai/anthropic/claude-sonnet-4.5
*/
"anthropic/claude-sonnet-4.5"
/** DeepSeek: DeepSeek V3.2 Exp
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 163840
@url https://openrouter.ai/deepseek/deepseek-v3.2-exp
*/
 | "deepseek/deepseek-v3.2-exp"
/** TheDrummer: Cydonia 24B V4.1
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 131072
@url https://openrouter.ai/thedrummer/cydonia-24b-v4.1
*/
 | "thedrummer/cydonia-24b-v4.1"
/** Relace: Relace Apply 3
@capabilities max_tokens, seed, stop
@context_length 256000
@url https://openrouter.ai/relace/relace-apply-3
*/
 | "relace/relace-apply-3"
/** Google: Gemini 2.5 Flash Preview 09-2025
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 1048576
@url https://openrouter.ai/google/gemini-2.5-flash-preview-09-2025
*/
 | "google/gemini-2.5-flash-preview-09-2025"
/** Google: Gemini 2.5 Flash Lite Preview 09-2025
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 1048576
@url https://openrouter.ai/google/gemini-2.5-flash-lite-preview-09-2025
*/
 | "google/gemini-2.5-flash-lite-preview-09-2025"
/** Qwen: Qwen3 VL 235B A22B Thinking
@capabilities frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p
@context_length 131072
@url https://openrouter.ai/qwen/qwen3-vl-235b-a22b-thinking
*/
 | "qwen/qwen3-vl-235b-a22b-thinking"
/** Qwen: Qwen3 VL 235B A22B Instruct
@capabilities frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p
@context_length 131072
@url https://openrouter.ai/qwen/qwen3-vl-235b-a22b-instruct
*/
 | "qwen/qwen3-vl-235b-a22b-instruct"
/** Qwen: Qwen3 Max
@capabilities max_tokens, presence_penalty, response_format, seed, temperature, tool_choice, tools, top_p
@context_length 256000
@url https://openrouter.ai/qwen/qwen3-max
*/
 | "qwen/qwen3-max"
/** Qwen: Qwen3 Coder Plus
@capabilities max_tokens, presence_penalty, response_format, seed, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 128000
@url https://openrouter.ai/qwen/qwen3-coder-plus
*/
 | "qwen/qwen3-coder-plus"
/** OpenAI: GPT-5 Codex
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, structured_outputs, tool_choice, tools
@context_length 400000
@url https://openrouter.ai/openai/gpt-5-codex
*/
 | "openai/gpt-5-codex"
/** DeepSeek: DeepSeek V3.1 Terminus
@capabilities frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 163840
@url https://openrouter.ai/deepseek/deepseek-v3.1-terminus
*/
 | "deepseek/deepseek-v3.1-terminus"
/** xAI: Grok 4 Fast (free)
@capabilities include_reasoning, logprobs, max_tokens, reasoning, response_format, seed, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 2000000
@url https://openrouter.ai/x-ai/grok-4-fast:free
*/
 | "x-ai/grok-4-fast:free"
/** xAI: Grok 4 Fast
@capabilities include_reasoning, logprobs, max_tokens, reasoning, response_format, seed, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 2000000
@url https://openrouter.ai/x-ai/grok-4-fast
*/
 | "x-ai/grok-4-fast"
/** Tongyi DeepResearch 30B A3B
@capabilities frequency_penalty, include_reasoning, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p
@context_length 131072
@url https://openrouter.ai/alibaba/tongyi-deepresearch-30b-a3b
*/
 | "alibaba/tongyi-deepresearch-30b-a3b"
/** Qwen: Qwen3 Coder Flash
@capabilities max_tokens, presence_penalty, response_format, seed, temperature, tool_choice, tools, top_p
@context_length 128000
@url https://openrouter.ai/qwen/qwen3-coder-flash
*/
 | "qwen/qwen3-coder-flash"
/** Arcee AI: AFM 4.5B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, stop, structured_outputs, temperature, top_k, top_p
@context_length 65536
@url https://openrouter.ai/arcee-ai/afm-4.5b
*/
 | "arcee-ai/afm-4.5b"
/** OpenGVLab: InternVL3 78B
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/opengvlab/internvl3-78b
*/
 | "opengvlab/internvl3-78b"
/** Qwen: Qwen3 Next 80B A3B Thinking
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 262144
@url https://openrouter.ai/qwen/qwen3-next-80b-a3b-thinking
*/
 | "qwen/qwen3-next-80b-a3b-thinking"
/** Qwen: Qwen3 Next 80B A3B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 262144
@url https://openrouter.ai/qwen/qwen3-next-80b-a3b-instruct
*/
 | "qwen/qwen3-next-80b-a3b-instruct"
/** Meituan: LongCat Flash Chat
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/meituan/longcat-flash-chat
*/
 | "meituan/longcat-flash-chat"
/** Qwen: Qwen Plus 0728
@capabilities max_tokens, presence_penalty, response_format, seed, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 1000000
@url https://openrouter.ai/qwen/qwen-plus-2025-07-28
*/
 | "qwen/qwen-plus-2025-07-28"
/** Qwen: Qwen Plus 0728 (thinking)
@capabilities include_reasoning, max_tokens, presence_penalty, reasoning, response_format, seed, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 1000000
@url https://openrouter.ai/qwen/qwen-plus-2025-07-28:thinking
*/
 | "qwen/qwen-plus-2025-07-28:thinking"
/** NVIDIA: Nemotron Nano 9B V2 (free)
@capabilities include_reasoning, reasoning, response_format, structured_outputs, tool_choice, tools
@context_length 128000
@url https://openrouter.ai/nvidia/nemotron-nano-9b-v2:free
*/
 | "nvidia/nemotron-nano-9b-v2:free"
/** NVIDIA: Nemotron Nano 9B V2
@capabilities frequency_penalty, include_reasoning, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 131072
@url https://openrouter.ai/nvidia/nemotron-nano-9b-v2
*/
 | "nvidia/nemotron-nano-9b-v2"
/** MoonshotAI: Kimi K2 0905
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 262144
@url https://openrouter.ai/moonshotai/kimi-k2-0905
*/
 | "moonshotai/kimi-k2-0905"
/** ByteDance: Seed OSS 36B Instruct
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/bytedance/seed-oss-36b-instruct
*/
 | "bytedance/seed-oss-36b-instruct"
/** Cogito V2 Preview Llama 109B
@capabilities frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 32767
@url https://openrouter.ai/deepcogito/cogito-v2-preview-llama-109b-moe
*/
 | "deepcogito/cogito-v2-preview-llama-109b-moe"
/** Deep Cogito: Cogito V2 Preview Deepseek 671B
@capabilities frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, stop, temperature, top_k, top_p
@context_length 163840
@url https://openrouter.ai/deepcogito/cogito-v2-preview-deepseek-671b
*/
 | "deepcogito/cogito-v2-preview-deepseek-671b"
/** StepFun: Step3
@capabilities frequency_penalty, include_reasoning, reasoning, response_format, structured_outputs, temperature, tool_choice, tools, top_k, top_p
@context_length 65536
@url https://openrouter.ai/stepfun-ai/step3
*/
 | "stepfun-ai/step3"
/** Qwen: Qwen3 30B A3B Thinking 2507
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 262144
@url https://openrouter.ai/qwen/qwen3-30b-a3b-thinking-2507
*/
 | "qwen/qwen3-30b-a3b-thinking-2507"
/** xAI: Grok Code Fast 1
@capabilities include_reasoning, logprobs, max_tokens, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 256000
@url https://openrouter.ai/x-ai/grok-code-fast-1
*/
 | "x-ai/grok-code-fast-1"
/** Nous: Hermes 4 70B
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/nousresearch/hermes-4-70b
*/
 | "nousresearch/hermes-4-70b"
/** Nous: Hermes 4 405B
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/nousresearch/hermes-4-405b
*/
 | "nousresearch/hermes-4-405b"
/** Gemini 2.5 Flash Image (Nano Banana)
@capabilities max_tokens, response_format, seed, structured_outputs, temperature, top_p
@context_length 32768
@url https://openrouter.ai/google/gemini-2.5-flash-image-preview
*/
 | "google/gemini-2.5-flash-image-preview"
/** DeepSeek: DeepSeek V3.1 (free)
@capabilities frequency_penalty, include_reasoning, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 163800
@url https://openrouter.ai/deepseek/deepseek-chat-v3.1:free
*/
 | "deepseek/deepseek-chat-v3.1:free"
/** DeepSeek: DeepSeek V3.1
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 163840
@url https://openrouter.ai/deepseek/deepseek-chat-v3.1
*/
 | "deepseek/deepseek-chat-v3.1"
/** DeepSeek: DeepSeek V3.1 Base
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 163840
@url https://openrouter.ai/deepseek/deepseek-v3.1-base
*/
 | "deepseek/deepseek-v3.1-base"
/** OpenAI: GPT-4o Audio
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 128000
@url https://openrouter.ai/openai/gpt-4o-audio-preview
*/
 | "openai/gpt-4o-audio-preview"
/** Mistral: Mistral Medium 3.1
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 131072
@url https://openrouter.ai/mistralai/mistral-medium-3.1
*/
 | "mistralai/mistral-medium-3.1"
/** Baidu: ERNIE 4.5 21B A3B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 120000
@url https://openrouter.ai/baidu/ernie-4.5-21b-a3b
*/
 | "baidu/ernie-4.5-21b-a3b"
/** Baidu: ERNIE 4.5 VL 28B A3B
@capabilities frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 30000
@url https://openrouter.ai/baidu/ernie-4.5-vl-28b-a3b
*/
 | "baidu/ernie-4.5-vl-28b-a3b"
/** Z.AI: GLM 4.5V
@capabilities frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 65536
@url https://openrouter.ai/z-ai/glm-4.5v
*/
 | "z-ai/glm-4.5v"
/** AI21: Jamba Mini 1.7
@capabilities max_tokens, response_format, stop, temperature, tool_choice, tools, top_p
@context_length 256000
@url https://openrouter.ai/ai21/jamba-mini-1.7
*/
 | "ai21/jamba-mini-1.7"
/** AI21: Jamba Large 1.7
@capabilities max_tokens, response_format, stop, temperature, tool_choice, tools, top_p
@context_length 256000
@url https://openrouter.ai/ai21/jamba-large-1.7
*/
 | "ai21/jamba-large-1.7"
/** OpenAI: GPT-5 Chat
@capabilities max_tokens, response_format, seed, structured_outputs
@context_length 128000
@url https://openrouter.ai/openai/gpt-5-chat
*/
 | "openai/gpt-5-chat"
/** OpenAI: GPT-5
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, structured_outputs, tool_choice, tools
@context_length 400000
@url https://openrouter.ai/openai/gpt-5
*/
 | "openai/gpt-5"
/** OpenAI: GPT-5 Mini
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, structured_outputs, tool_choice, tools
@context_length 400000
@url https://openrouter.ai/openai/gpt-5-mini
*/
 | "openai/gpt-5-mini"
/** OpenAI: GPT-5 Nano
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, structured_outputs, tool_choice, tools
@context_length 400000
@url https://openrouter.ai/openai/gpt-5-nano
*/
 | "openai/gpt-5-nano"
/** OpenAI: gpt-oss-120b (free)
@capabilities include_reasoning, max_tokens, reasoning, seed, stop, temperature
@context_length 32768
@url https://openrouter.ai/openai/gpt-oss-120b:free
*/
 | "openai/gpt-oss-120b:free"
/** OpenAI: gpt-oss-120b
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/openai/gpt-oss-120b
*/
 | "openai/gpt-oss-120b"
/** OpenAI: gpt-oss-20b (free)
@capabilities include_reasoning, max_tokens, reasoning, response_format, structured_outputs, temperature, top_p
@context_length 131072
@url https://openrouter.ai/openai/gpt-oss-20b:free
*/
 | "openai/gpt-oss-20b:free"
/** OpenAI: gpt-oss-20b
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/openai/gpt-oss-20b
*/
 | "openai/gpt-oss-20b"
/** Anthropic: Claude Opus 4.1
@capabilities include_reasoning, max_tokens, reasoning, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 200000
@url https://openrouter.ai/anthropic/claude-opus-4.1
*/
 | "anthropic/claude-opus-4.1"
/** Mistral: Codestral 2508
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 256000
@url https://openrouter.ai/mistralai/codestral-2508
*/
 | "mistralai/codestral-2508"
/** Qwen: Qwen3 Coder 30B A3B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 262144
@url https://openrouter.ai/qwen/qwen3-coder-30b-a3b-instruct
*/
 | "qwen/qwen3-coder-30b-a3b-instruct"
/** Qwen: Qwen3 30B A3B Instruct 2507
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 262144
@url https://openrouter.ai/qwen/qwen3-30b-a3b-instruct-2507
*/
 | "qwen/qwen3-30b-a3b-instruct-2507"
/** Z.AI: GLM 4.5
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_a, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/z-ai/glm-4.5
*/
 | "z-ai/glm-4.5"
/** Z.AI: GLM 4.5 Air (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/z-ai/glm-4.5-air:free
*/
 | "z-ai/glm-4.5-air:free"
/** Z.AI: GLM 4.5 Air
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 131072
@url https://openrouter.ai/z-ai/glm-4.5-air
*/
 | "z-ai/glm-4.5-air"
/** Qwen: Qwen3 235B A22B Thinking 2507
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 262144
@url https://openrouter.ai/qwen/qwen3-235b-a22b-thinking-2507
*/
 | "qwen/qwen3-235b-a22b-thinking-2507"
/** Z.AI: GLM 4 32B
@capabilities max_tokens, temperature, tool_choice, tools, top_p
@context_length 128000
@url https://openrouter.ai/z-ai/glm-4-32b
*/
 | "z-ai/glm-4-32b"
/** Qwen: Qwen3 Coder 480B A35B (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 262144
@url https://openrouter.ai/qwen/qwen3-coder:free
*/
 | "qwen/qwen3-coder:free"
/** Qwen: Qwen3 Coder 480B A35B
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 262144
@url https://openrouter.ai/qwen/qwen3-coder
*/
 | "qwen/qwen3-coder"
/** ByteDance: UI-TARS 7B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 128000
@url https://openrouter.ai/bytedance/ui-tars-1.5-7b
*/
 | "bytedance/ui-tars-1.5-7b"
/** Google: Gemini 2.5 Flash Lite
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 1048576
@url https://openrouter.ai/google/gemini-2.5-flash-lite
*/
 | "google/gemini-2.5-flash-lite"
/** Qwen: Qwen3 235B A22B Instruct 2507
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 262144
@url https://openrouter.ai/qwen/qwen3-235b-a22b-2507
*/
 | "qwen/qwen3-235b-a22b-2507"
/** Switchpoint Router
@capabilities include_reasoning, max_tokens, reasoning, seed, stop, temperature, top_k, top_p
@context_length 131072
@url https://openrouter.ai/switchpoint/router
*/
 | "switchpoint/router"
/** MoonshotAI: Kimi K2 0711 (free)
@capabilities max_tokens, seed, stop, temperature
@context_length 32768
@url https://openrouter.ai/moonshotai/kimi-k2:free
*/
 | "moonshotai/kimi-k2:free"
/** MoonshotAI: Kimi K2 0711
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 63000
@url https://openrouter.ai/moonshotai/kimi-k2
*/
 | "moonshotai/kimi-k2"
/** THUDM: GLM 4.1V 9B Thinking
@capabilities frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 65536
@url https://openrouter.ai/thudm/glm-4.1v-9b-thinking
*/
 | "thudm/glm-4.1v-9b-thinking"
/** Mistral: Devstral Medium
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 131072
@url https://openrouter.ai/mistralai/devstral-medium
*/
 | "mistralai/devstral-medium"
/** Mistral: Devstral Small 1.1
@capabilities frequency_penalty, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p
@context_length 128000
@url https://openrouter.ai/mistralai/devstral-small
*/
 | "mistralai/devstral-small"
/** Venice: Uncensored (free)
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, stop, structured_outputs, temperature, top_k, top_p
@context_length 32768
@url https://openrouter.ai/cognitivecomputations/dolphin-mistral-24b-venice-edition:free
*/
 | "cognitivecomputations/dolphin-mistral-24b-venice-edition:free"
/** xAI: Grok 4
@capabilities include_reasoning, logprobs, max_tokens, reasoning, response_format, seed, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 256000
@url https://openrouter.ai/x-ai/grok-4
*/
 | "x-ai/grok-4"
/** Google: Gemma 3n 2B (free)
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, temperature, top_p
@context_length 8192
@url https://openrouter.ai/google/gemma-3n-e2b-it:free
*/
 | "google/gemma-3n-e2b-it:free"
/** Tencent: Hunyuan A13B Instruct (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/tencent/hunyuan-a13b-instruct:free
*/
 | "tencent/hunyuan-a13b-instruct:free"
/** Tencent: Hunyuan A13B Instruct
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/tencent/hunyuan-a13b-instruct
*/
 | "tencent/hunyuan-a13b-instruct"
/** TNG: DeepSeek R1T2 Chimera (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 163840
@url https://openrouter.ai/tngtech/deepseek-r1t2-chimera:free
*/
 | "tngtech/deepseek-r1t2-chimera:free"
/** Morph: Morph V3 Large
@capabilities max_tokens, stop, temperature
@context_length 81920
@url https://openrouter.ai/morph/morph-v3-large
*/
 | "morph/morph-v3-large"
/** Morph: Morph V3 Fast
@capabilities max_tokens, stop, temperature
@context_length 81920
@url https://openrouter.ai/morph/morph-v3-fast
*/
 | "morph/morph-v3-fast"
/** Baidu: ERNIE 4.5 VL 424B A47B
@capabilities frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 123000
@url https://openrouter.ai/baidu/ernie-4.5-vl-424b-a47b
*/
 | "baidu/ernie-4.5-vl-424b-a47b"
/** Baidu: ERNIE 4.5 300B A47B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_p
@context_length 123000
@url https://openrouter.ai/baidu/ernie-4.5-300b-a47b
*/
 | "baidu/ernie-4.5-300b-a47b"
/** TheDrummer: Anubis 70B V1.1
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_p
@context_length 4096
@url https://openrouter.ai/thedrummer/anubis-70b-v1.1
*/
 | "thedrummer/anubis-70b-v1.1"
/** Inception: Mercury
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p
@context_length 128000
@url https://openrouter.ai/inception/mercury
*/
 | "inception/mercury"
/** Mistral: Mistral Small 3.2 24B (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/mistralai/mistral-small-3.2-24b-instruct:free
*/
 | "mistralai/mistral-small-3.2-24b-instruct:free"
/** Mistral: Mistral Small 3.2 24B
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/mistralai/mistral-small-3.2-24b-instruct
*/
 | "mistralai/mistral-small-3.2-24b-instruct"
/** MiniMax: MiniMax M1
@capabilities frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p
@context_length 1000000
@url https://openrouter.ai/minimax/minimax-m1
*/
 | "minimax/minimax-m1"
/** Google: Gemini 2.5 Flash Lite Preview 06-17
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 1048576
@url https://openrouter.ai/google/gemini-2.5-flash-lite-preview-06-17
*/
 | "google/gemini-2.5-flash-lite-preview-06-17"
/** Google: Gemini 2.5 Flash
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 1048576
@url https://openrouter.ai/google/gemini-2.5-flash
*/
 | "google/gemini-2.5-flash"
/** Google: Gemini 2.5 Pro
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 1048576
@url https://openrouter.ai/google/gemini-2.5-pro
*/
 | "google/gemini-2.5-pro"
/** MoonshotAI: Kimi Dev 72B (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/moonshotai/kimi-dev-72b:free
*/
 | "moonshotai/kimi-dev-72b:free"
/** MoonshotAI: Kimi Dev 72B
@capabilities frequency_penalty, include_reasoning, reasoning, response_format, structured_outputs, temperature, top_k, top_p
@context_length 131072
@url https://openrouter.ai/moonshotai/kimi-dev-72b
*/
 | "moonshotai/kimi-dev-72b"
/** OpenAI: o3 Pro
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, structured_outputs, tool_choice, tools
@context_length 200000
@url https://openrouter.ai/openai/o3-pro
*/
 | "openai/o3-pro"
/** xAI: Grok 3 Mini
@capabilities include_reasoning, logprobs, max_tokens, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/x-ai/grok-3-mini
*/
 | "x-ai/grok-3-mini"
/** xAI: Grok 3
@capabilities frequency_penalty, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/x-ai/grok-3
*/
 | "x-ai/grok-3"
/** Mistral: Magistral Small 2506
@capabilities frequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 40000
@url https://openrouter.ai/mistralai/magistral-small-2506
*/
 | "mistralai/magistral-small-2506"
/** Mistral: Magistral Medium 2506
@capabilities frequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 40960
@url https://openrouter.ai/mistralai/magistral-medium-2506
*/
 | "mistralai/magistral-medium-2506"
/** Mistral: Magistral Medium 2506 (thinking)
@capabilities frequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 40960
@url https://openrouter.ai/mistralai/magistral-medium-2506:thinking
*/
 | "mistralai/magistral-medium-2506:thinking"
/** Google: Gemini 2.5 Pro Preview 06-05
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 1048576
@url https://openrouter.ai/google/gemini-2.5-pro-preview
*/
 | "google/gemini-2.5-pro-preview"
/** DeepSeek: Deepseek R1 0528 Qwen3 8B (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/deepseek/deepseek-r1-0528-qwen3-8b:free
*/
 | "deepseek/deepseek-r1-0528-qwen3-8b:free"
/** DeepSeek: Deepseek R1 0528 Qwen3 8B
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/deepseek/deepseek-r1-0528-qwen3-8b
*/
 | "deepseek/deepseek-r1-0528-qwen3-8b"
/** DeepSeek: R1 0528 (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 163840
@url https://openrouter.ai/deepseek/deepseek-r1-0528:free
*/
 | "deepseek/deepseek-r1-0528:free"
/** DeepSeek: R1 0528
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 163840
@url https://openrouter.ai/deepseek/deepseek-r1-0528
*/
 | "deepseek/deepseek-r1-0528"
/** Anthropic: Claude Opus 4
@capabilities include_reasoning, max_tokens, reasoning, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 200000
@url https://openrouter.ai/anthropic/claude-opus-4
*/
 | "anthropic/claude-opus-4"
/** Anthropic: Claude Sonnet 4
@capabilities include_reasoning, max_tokens, reasoning, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 1000000
@url https://openrouter.ai/anthropic/claude-sonnet-4
*/
 | "anthropic/claude-sonnet-4"
/** Mistral: Devstral Small 2505 (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/mistralai/devstral-small-2505:free
*/
 | "mistralai/devstral-small-2505:free"
/** Mistral: Devstral Small 2505
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/mistralai/devstral-small-2505
*/
 | "mistralai/devstral-small-2505"
/** Google: Gemma 3n 4B (free)
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, temperature, top_p
@context_length 8192
@url https://openrouter.ai/google/gemma-3n-e4b-it:free
*/
 | "google/gemma-3n-e4b-it:free"
/** Google: Gemma 3n 4B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, stop, temperature, top_k, top_p
@context_length 32768
@url https://openrouter.ai/google/gemma-3n-e4b-it
*/
 | "google/gemma-3n-e4b-it"
/** OpenAI: Codex Mini
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, structured_outputs, tool_choice, tools
@context_length 200000
@url https://openrouter.ai/openai/codex-mini
*/
 | "openai/codex-mini"
/** Meta: Llama 3.3 8B Instruct (free)
@capabilities max_tokens, repetition_penalty, response_format, structured_outputs, temperature, tool_choice, tools, top_k, top_p
@context_length 128000
@url https://openrouter.ai/meta-llama/llama-3.3-8b-instruct:free
*/
 | "meta-llama/llama-3.3-8b-instruct:free"
/** Nous: DeepHermes 3 Mistral 24B Preview
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/nousresearch/deephermes-3-mistral-24b-preview
*/
 | "nousresearch/deephermes-3-mistral-24b-preview"
/** Mistral: Mistral Medium 3
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 131072
@url https://openrouter.ai/mistralai/mistral-medium-3
*/
 | "mistralai/mistral-medium-3"
/** Google: Gemini 2.5 Pro Preview 05-06
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 1048576
@url https://openrouter.ai/google/gemini-2.5-pro-preview-05-06
*/
 | "google/gemini-2.5-pro-preview-05-06"
/** Arcee AI: Spotlight
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, stop, temperature, top_k, top_p
@context_length 131072
@url https://openrouter.ai/arcee-ai/spotlight
*/
 | "arcee-ai/spotlight"
/** Arcee AI: Maestro Reasoning
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, stop, temperature, top_k, top_p
@context_length 131072
@url https://openrouter.ai/arcee-ai/maestro-reasoning
*/
 | "arcee-ai/maestro-reasoning"
/** Arcee AI: Virtuoso Large
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 131072
@url https://openrouter.ai/arcee-ai/virtuoso-large
*/
 | "arcee-ai/virtuoso-large"
/** Arcee AI: Coder Large
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, stop, temperature, top_k, top_p
@context_length 32768
@url https://openrouter.ai/arcee-ai/coder-large
*/
 | "arcee-ai/coder-large"
/** Microsoft: Phi 4 Reasoning Plus
@capabilities frequency_penalty, include_reasoning, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, temperature, top_k, top_p
@context_length 32768
@url https://openrouter.ai/microsoft/phi-4-reasoning-plus
*/
 | "microsoft/phi-4-reasoning-plus"
/** Inception: Mercury Coder
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p
@context_length 128000
@url https://openrouter.ai/inception/mercury-coder
*/
 | "inception/mercury-coder"
/** Qwen: Qwen3 4B (free)
@capabilities frequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p
@context_length 40960
@url https://openrouter.ai/qwen/qwen3-4b:free
*/
 | "qwen/qwen3-4b:free"
/** DeepSeek: DeepSeek Prover V2
@capabilities frequency_penalty, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, top_k, top_p
@context_length 163840
@url https://openrouter.ai/deepseek/deepseek-prover-v2
*/
 | "deepseek/deepseek-prover-v2"
/** Meta: Llama Guard 4 12B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, top_k, top_p
@context_length 163840
@url https://openrouter.ai/meta-llama/llama-guard-4-12b
*/
 | "meta-llama/llama-guard-4-12b"
/** Qwen: Qwen3 30B A3B (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 40960
@url https://openrouter.ai/qwen/qwen3-30b-a3b:free
*/
 | "qwen/qwen3-30b-a3b:free"
/** Qwen: Qwen3 30B A3B
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 40960
@url https://openrouter.ai/qwen/qwen3-30b-a3b
*/
 | "qwen/qwen3-30b-a3b"
/** Qwen: Qwen3 8B (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 40960
@url https://openrouter.ai/qwen/qwen3-8b:free
*/
 | "qwen/qwen3-8b:free"
/** Qwen: Qwen3 8B
@capabilities frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 128000
@url https://openrouter.ai/qwen/qwen3-8b
*/
 | "qwen/qwen3-8b"
/** Qwen: Qwen3 14B (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 40960
@url https://openrouter.ai/qwen/qwen3-14b:free
*/
 | "qwen/qwen3-14b:free"
/** Qwen: Qwen3 14B
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 40960
@url https://openrouter.ai/qwen/qwen3-14b
*/
 | "qwen/qwen3-14b"
/** Qwen: Qwen3 32B
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 40960
@url https://openrouter.ai/qwen/qwen3-32b
*/
 | "qwen/qwen3-32b"
/** Qwen: Qwen3 235B A22B (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/qwen/qwen3-235b-a22b:free
*/
 | "qwen/qwen3-235b-a22b:free"
/** Qwen: Qwen3 235B A22B
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 40960
@url https://openrouter.ai/qwen/qwen3-235b-a22b
*/
 | "qwen/qwen3-235b-a22b"
/** TNG: DeepSeek R1T Chimera (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 163840
@url https://openrouter.ai/tngtech/deepseek-r1t-chimera:free
*/
 | "tngtech/deepseek-r1t-chimera:free"
/** TNG: DeepSeek R1T Chimera
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 163840
@url https://openrouter.ai/tngtech/deepseek-r1t-chimera
*/
 | "tngtech/deepseek-r1t-chimera"
/** Microsoft: MAI DS R1 (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 163840
@url https://openrouter.ai/microsoft/mai-ds-r1:free
*/
 | "microsoft/mai-ds-r1:free"
/** Microsoft: MAI DS R1
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 163840
@url https://openrouter.ai/microsoft/mai-ds-r1
*/
 | "microsoft/mai-ds-r1"
/** THUDM: GLM Z1 32B
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/thudm/glm-z1-32b
*/
 | "thudm/glm-z1-32b"
/** OpenAI: o4 Mini High
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, structured_outputs, tool_choice, tools
@context_length 200000
@url https://openrouter.ai/openai/o4-mini-high
*/
 | "openai/o4-mini-high"
/** OpenAI: o3
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, structured_outputs, tool_choice, tools
@context_length 200000
@url https://openrouter.ai/openai/o3
*/
 | "openai/o3"
/** OpenAI: o4 Mini
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, structured_outputs, tool_choice, tools
@context_length 200000
@url https://openrouter.ai/openai/o4-mini
*/
 | "openai/o4-mini"
/** Shisa AI: Shisa V2 Llama 3.3 70B  (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/shisa-ai/shisa-v2-llama3.3-70b:free
*/
 | "shisa-ai/shisa-v2-llama3.3-70b:free"
/** Shisa AI: Shisa V2 Llama 3.3 70B
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/shisa-ai/shisa-v2-llama3.3-70b
*/
 | "shisa-ai/shisa-v2-llama3.3-70b"
/** OpenAI: GPT-4.1
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p, web_search_options
@context_length 1047576
@url https://openrouter.ai/openai/gpt-4.1
*/
 | "openai/gpt-4.1"
/** OpenAI: GPT-4.1 Mini
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p, web_search_options
@context_length 1047576
@url https://openrouter.ai/openai/gpt-4.1-mini
*/
 | "openai/gpt-4.1-mini"
/** OpenAI: GPT-4.1 Nano
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 1047576
@url https://openrouter.ai/openai/gpt-4.1-nano
*/
 | "openai/gpt-4.1-nano"
/** EleutherAI: Llemma 7b
@capabilities frequency_penalty, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 4096
@url https://openrouter.ai/eleutherai/llemma_7b
*/
 | "eleutherai/llemma_7b"
/** AlfredPros: CodeLLaMa 7B Instruct Solidity
@capabilities frequency_penalty, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 4096
@url https://openrouter.ai/alfredpros/codellama-7b-instruct-solidity
*/
 | "alfredpros/codellama-7b-instruct-solidity"
/** ArliAI: QwQ 32B RpR v1 (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/arliai/qwq-32b-arliai-rpr-v1:free
*/
 | "arliai/qwq-32b-arliai-rpr-v1:free"
/** ArliAI: QwQ 32B RpR v1
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/arliai/qwq-32b-arliai-rpr-v1
*/
 | "arliai/qwq-32b-arliai-rpr-v1"
/** Agentica: Deepcoder 14B Preview (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 96000
@url https://openrouter.ai/agentica-org/deepcoder-14b-preview:free
*/
 | "agentica-org/deepcoder-14b-preview:free"
/** Agentica: Deepcoder 14B Preview
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 96000
@url https://openrouter.ai/agentica-org/deepcoder-14b-preview
*/
 | "agentica-org/deepcoder-14b-preview"
/** MoonshotAI: Kimi VL A3B Thinking (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/moonshotai/kimi-vl-a3b-thinking:free
*/
 | "moonshotai/kimi-vl-a3b-thinking:free"
/** MoonshotAI: Kimi VL A3B Thinking
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/moonshotai/kimi-vl-a3b-thinking
*/
 | "moonshotai/kimi-vl-a3b-thinking"
/** xAI: Grok 3 Mini Beta
@capabilities include_reasoning, logprobs, max_tokens, reasoning, response_format, seed, stop, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/x-ai/grok-3-mini-beta
*/
 | "x-ai/grok-3-mini-beta"
/** xAI: Grok 3 Beta
@capabilities frequency_penalty, logprobs, max_tokens, presence_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/x-ai/grok-3-beta
*/
 | "x-ai/grok-3-beta"
/** NVIDIA: Llama 3.1 Nemotron Ultra 253B v1
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, presence_penalty, reasoning, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/nvidia/llama-3.1-nemotron-ultra-253b-v1
*/
 | "nvidia/llama-3.1-nemotron-ultra-253b-v1"
/** Meta: Llama 4 Maverick (free)
@capabilities max_tokens, repetition_penalty, response_format, structured_outputs, temperature, tool_choice, tools, top_k, top_p
@context_length 128000
@url https://openrouter.ai/meta-llama/llama-4-maverick:free
*/
 | "meta-llama/llama-4-maverick:free"
/** Meta: Llama 4 Maverick
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 1048576
@url https://openrouter.ai/meta-llama/llama-4-maverick
*/
 | "meta-llama/llama-4-maverick"
/** Meta: Llama 4 Scout (free)
@capabilities max_tokens, repetition_penalty, response_format, structured_outputs, temperature, tool_choice, tools, top_k, top_p
@context_length 128000
@url https://openrouter.ai/meta-llama/llama-4-scout:free
*/
 | "meta-llama/llama-4-scout:free"
/** Meta: Llama 4 Scout
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 327680
@url https://openrouter.ai/meta-llama/llama-4-scout
*/
 | "meta-llama/llama-4-scout"
/** AllenAI: Molmo 7B D
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 4096
@url https://openrouter.ai/allenai/molmo-7b-d
*/
 | "allenai/molmo-7b-d"
/** Qwen: Qwen2.5 VL 32B Instruct (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 8192
@url https://openrouter.ai/qwen/qwen2.5-vl-32b-instruct:free
*/
 | "qwen/qwen2.5-vl-32b-instruct:free"
/** Qwen: Qwen2.5 VL 32B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_logprobs, top_p
@context_length 16384
@url https://openrouter.ai/qwen/qwen2.5-vl-32b-instruct
*/
 | "qwen/qwen2.5-vl-32b-instruct"
/** DeepSeek: DeepSeek V3 0324 (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 163840
@url https://openrouter.ai/deepseek/deepseek-chat-v3-0324:free
*/
 | "deepseek/deepseek-chat-v3-0324:free"
/** DeepSeek: DeepSeek V3 0324
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 163840
@url https://openrouter.ai/deepseek/deepseek-chat-v3-0324
*/
 | "deepseek/deepseek-chat-v3-0324"
/** OpenAI: o1-pro
@capabilities include_reasoning, max_tokens, reasoning, response_format, seed, structured_outputs
@context_length 200000
@url https://openrouter.ai/openai/o1-pro
*/
 | "openai/o1-pro"
/** Mistral: Mistral Small 3.1 24B (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 128000
@url https://openrouter.ai/mistralai/mistral-small-3.1-24b-instruct:free
*/
 | "mistralai/mistral-small-3.1-24b-instruct:free"
/** Mistral: Mistral Small 3.1 24B
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/mistralai/mistral-small-3.1-24b-instruct
*/
 | "mistralai/mistral-small-3.1-24b-instruct"
/** AllenAI: Olmo 2 32B Instruct
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 4096
@url https://openrouter.ai/allenai/olmo-2-0325-32b-instruct
*/
 | "allenai/olmo-2-0325-32b-instruct"
/** Google: Gemma 3 4B (free)
@capabilities max_tokens, response_format, seed, structured_outputs, temperature, top_p
@context_length 32768
@url https://openrouter.ai/google/gemma-3-4b-it:free
*/
 | "google/gemma-3-4b-it:free"
/** Google: Gemma 3 4B
@capabilities frequency_penalty, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, top_k, top_p
@context_length 131072
@url https://openrouter.ai/google/gemma-3-4b-it
*/
 | "google/gemma-3-4b-it"
/** Google: Gemma 3 12B (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/google/gemma-3-12b-it:free
*/
 | "google/gemma-3-12b-it:free"
/** Google: Gemma 3 12B
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_logprobs, top_p
@context_length 96000
@url https://openrouter.ai/google/gemma-3-12b-it
*/
 | "google/gemma-3-12b-it"
/** Cohere: Command A
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_p
@context_length 256000
@url https://openrouter.ai/cohere/command-a
*/
 | "cohere/command-a"
/** OpenAI: GPT-4o-mini Search Preview
@capabilities max_tokens, response_format, structured_outputs, web_search_options
@context_length 128000
@url https://openrouter.ai/openai/gpt-4o-mini-search-preview
*/
 | "openai/gpt-4o-mini-search-preview"
/** OpenAI: GPT-4o Search Preview
@capabilities max_tokens, response_format, structured_outputs, web_search_options
@context_length 128000
@url https://openrouter.ai/openai/gpt-4o-search-preview
*/
 | "openai/gpt-4o-search-preview"
/** Google: Gemma 3 27B (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_logprobs, top_p
@context_length 96000
@url https://openrouter.ai/google/gemma-3-27b-it:free
*/
 | "google/gemma-3-27b-it:free"
/** Google: Gemma 3 27B
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_logprobs, top_p
@context_length 96000
@url https://openrouter.ai/google/gemma-3-27b-it
*/
 | "google/gemma-3-27b-it"
/** TheDrummer: Skyfall 36B V2
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/thedrummer/skyfall-36b-v2
*/
 | "thedrummer/skyfall-36b-v2"
/** Microsoft: Phi 4 Multimodal Instruct
@capabilities frequency_penalty, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p
@context_length 131072
@url https://openrouter.ai/microsoft/phi-4-multimodal-instruct
*/
 | "microsoft/phi-4-multimodal-instruct"
/** Perplexity: Sonar Reasoning Pro
@capabilities frequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, temperature, top_k, top_p, web_search_options
@context_length 128000
@url https://openrouter.ai/perplexity/sonar-reasoning-pro
*/
 | "perplexity/sonar-reasoning-pro"
/** Perplexity: Sonar Pro
@capabilities frequency_penalty, max_tokens, presence_penalty, temperature, top_k, top_p, web_search_options
@context_length 200000
@url https://openrouter.ai/perplexity/sonar-pro
*/
 | "perplexity/sonar-pro"
/** Perplexity: Sonar Deep Research
@capabilities frequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, temperature, top_k, top_p, web_search_options
@context_length 128000
@url https://openrouter.ai/perplexity/sonar-deep-research
*/
 | "perplexity/sonar-deep-research"
/** Qwen: QwQ 32B
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/qwen/qwq-32b
*/
 | "qwen/qwq-32b"
/** Nous: DeepHermes 3 Llama 3 8B Preview (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/nousresearch/deephermes-3-llama-3-8b-preview:free
*/
 | "nousresearch/deephermes-3-llama-3-8b-preview:free"
/** Nous: DeepHermes 3 Llama 3 8B Preview
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/nousresearch/deephermes-3-llama-3-8b-preview
*/
 | "nousresearch/deephermes-3-llama-3-8b-preview"
/** Google: Gemini 2.0 Flash Lite
@capabilities max_tokens, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 1048576
@url https://openrouter.ai/google/gemini-2.0-flash-lite-001
*/
 | "google/gemini-2.0-flash-lite-001"
/** Anthropic: Claude 3.7 Sonnet
@capabilities include_reasoning, max_tokens, reasoning, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 200000
@url https://openrouter.ai/anthropic/claude-3.7-sonnet
*/
 | "anthropic/claude-3.7-sonnet"
/** Anthropic: Claude 3.7 Sonnet (thinking)
@capabilities include_reasoning, max_tokens, reasoning, stop, temperature, tool_choice, tools
@context_length 200000
@url https://openrouter.ai/anthropic/claude-3.7-sonnet:thinking
*/
 | "anthropic/claude-3.7-sonnet:thinking"
/** Perplexity: R1 1776
@capabilities frequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, temperature, top_k, top_p
@context_length 128000
@url https://openrouter.ai/perplexity/r1-1776
*/
 | "perplexity/r1-1776"
/** Mistral: Saba
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 32768
@url https://openrouter.ai/mistralai/mistral-saba
*/
 | "mistralai/mistral-saba"
/** Dolphin3.0 R1 Mistral 24B (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/cognitivecomputations/dolphin3.0-r1-mistral-24b:free
*/
 | "cognitivecomputations/dolphin3.0-r1-mistral-24b:free"
/** Dolphin3.0 R1 Mistral 24B
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/cognitivecomputations/dolphin3.0-r1-mistral-24b
*/
 | "cognitivecomputations/dolphin3.0-r1-mistral-24b"
/** Dolphin3.0 Mistral 24B (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/cognitivecomputations/dolphin3.0-mistral-24b:free
*/
 | "cognitivecomputations/dolphin3.0-mistral-24b:free"
/** Dolphin3.0 Mistral 24B
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/cognitivecomputations/dolphin3.0-mistral-24b
*/
 | "cognitivecomputations/dolphin3.0-mistral-24b"
/** Llama Guard 3 8B
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/meta-llama/llama-guard-3-8b
*/
 | "meta-llama/llama-guard-3-8b"
/** OpenAI: o3 Mini High
@capabilities max_tokens, response_format, seed, structured_outputs, tool_choice, tools
@context_length 200000
@url https://openrouter.ai/openai/o3-mini-high
*/
 | "openai/o3-mini-high"
/** DeepSeek: R1 Distill Llama 8B
@capabilities frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 32000
@url https://openrouter.ai/deepseek/deepseek-r1-distill-llama-8b
*/
 | "deepseek/deepseek-r1-distill-llama-8b"
/** Google: Gemini 2.0 Flash
@capabilities max_tokens, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 1048576
@url https://openrouter.ai/google/gemini-2.0-flash-001
*/
 | "google/gemini-2.0-flash-001"
/** Qwen: Qwen VL Plus
@capabilities max_tokens, presence_penalty, response_format, seed, temperature, top_p
@context_length 7500
@url https://openrouter.ai/qwen/qwen-vl-plus
*/
 | "qwen/qwen-vl-plus"
/** AionLabs: Aion-1.0
@capabilities include_reasoning, max_tokens, reasoning, temperature, top_p
@context_length 131072
@url https://openrouter.ai/aion-labs/aion-1.0
*/
 | "aion-labs/aion-1.0"
/** AionLabs: Aion-1.0-Mini
@capabilities include_reasoning, max_tokens, reasoning, temperature, top_p
@context_length 131072
@url https://openrouter.ai/aion-labs/aion-1.0-mini
*/
 | "aion-labs/aion-1.0-mini"
/** AionLabs: Aion-RP 1.0 (8B)
@capabilities max_tokens, temperature, top_p
@context_length 32768
@url https://openrouter.ai/aion-labs/aion-rp-llama-3.1-8b
*/
 | "aion-labs/aion-rp-llama-3.1-8b"
/** Qwen: Qwen VL Max
@capabilities max_tokens, presence_penalty, response_format, seed, temperature, top_p
@context_length 7500
@url https://openrouter.ai/qwen/qwen-vl-max
*/
 | "qwen/qwen-vl-max"
/** Qwen: Qwen-Turbo
@capabilities max_tokens, presence_penalty, response_format, seed, temperature, tool_choice, tools, top_p
@context_length 1000000
@url https://openrouter.ai/qwen/qwen-turbo
*/
 | "qwen/qwen-turbo"
/** Qwen: Qwen2.5 VL 72B Instruct (free)
@capabilities max_tokens, presence_penalty, response_format, seed, temperature, top_p
@context_length 131072
@url https://openrouter.ai/qwen/qwen2.5-vl-72b-instruct:free
*/
 | "qwen/qwen2.5-vl-72b-instruct:free"
/** Qwen: Qwen2.5 VL 72B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/qwen/qwen2.5-vl-72b-instruct
*/
 | "qwen/qwen2.5-vl-72b-instruct"
/** Qwen: Qwen-Plus
@capabilities max_tokens, presence_penalty, response_format, seed, temperature, tool_choice, tools, top_p
@context_length 131072
@url https://openrouter.ai/qwen/qwen-plus
*/
 | "qwen/qwen-plus"
/** Qwen: Qwen-Max
@capabilities max_tokens, presence_penalty, response_format, seed, temperature, tool_choice, tools, top_p
@context_length 32768
@url https://openrouter.ai/qwen/qwen-max
*/
 | "qwen/qwen-max"
/** OpenAI: o3 Mini
@capabilities max_tokens, response_format, seed, structured_outputs, tool_choice, tools
@context_length 200000
@url https://openrouter.ai/openai/o3-mini
*/
 | "openai/o3-mini"
/** Mistral: Mistral Small 3 (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/mistralai/mistral-small-24b-instruct-2501:free
*/
 | "mistralai/mistral-small-24b-instruct-2501:free"
/** Mistral: Mistral Small 3
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/mistralai/mistral-small-24b-instruct-2501
*/
 | "mistralai/mistral-small-24b-instruct-2501"
/** DeepSeek: R1 Distill Qwen 32B
@capabilities frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_p
@context_length 131072
@url https://openrouter.ai/deepseek/deepseek-r1-distill-qwen-32b
*/
 | "deepseek/deepseek-r1-distill-qwen-32b"
/** DeepSeek: R1 Distill Qwen 14B
@capabilities frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 32768
@url https://openrouter.ai/deepseek/deepseek-r1-distill-qwen-14b
*/
 | "deepseek/deepseek-r1-distill-qwen-14b"
/** Perplexity: Sonar Reasoning
@capabilities frequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, temperature, top_k, top_p, web_search_options
@context_length 127000
@url https://openrouter.ai/perplexity/sonar-reasoning
*/
 | "perplexity/sonar-reasoning"
/** Perplexity: Sonar
@capabilities frequency_penalty, max_tokens, presence_penalty, temperature, top_k, top_p, web_search_options
@context_length 127072
@url https://openrouter.ai/perplexity/sonar
*/
 | "perplexity/sonar"
/** Liquid: LFM 7B
@capabilities frequency_penalty, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 32768
@url https://openrouter.ai/liquid/lfm-7b
*/
 | "liquid/lfm-7b"
/** Liquid: LFM 3B
@capabilities frequency_penalty, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 32768
@url https://openrouter.ai/liquid/lfm-3b
*/
 | "liquid/lfm-3b"
/** DeepSeek: R1 Distill Llama 70B (free)
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 8192
@url https://openrouter.ai/deepseek/deepseek-r1-distill-llama-70b:free
*/
 | "deepseek/deepseek-r1-distill-llama-70b:free"
/** DeepSeek: R1 Distill Llama 70B
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/deepseek/deepseek-r1-distill-llama-70b
*/
 | "deepseek/deepseek-r1-distill-llama-70b"
/** DeepSeek: R1 (free)
@capabilities include_reasoning, max_tokens, reasoning, temperature
@context_length 163840
@url https://openrouter.ai/deepseek/deepseek-r1:free
*/
 | "deepseek/deepseek-r1:free"
/** DeepSeek: R1
@capabilities frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 163840
@url https://openrouter.ai/deepseek/deepseek-r1
*/
 | "deepseek/deepseek-r1"
/** MiniMax: MiniMax-01
@capabilities max_tokens, temperature, top_p
@context_length 1000192
@url https://openrouter.ai/minimax/minimax-01
*/
 | "minimax/minimax-01"
/** Mistral: Codestral 2501
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 262144
@url https://openrouter.ai/mistralai/codestral-2501
*/
 | "mistralai/codestral-2501"
/** Microsoft: Phi 4
@capabilities frequency_penalty, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_p
@context_length 16384
@url https://openrouter.ai/microsoft/phi-4
*/
 | "microsoft/phi-4"
/** DeepSeek: DeepSeek V3
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 163840
@url https://openrouter.ai/deepseek/deepseek-chat
*/
 | "deepseek/deepseek-chat"
/** Sao10K: Llama 3.3 Euryale 70B
@capabilities frequency_penalty, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_p
@context_length 131072
@url https://openrouter.ai/sao10k/l3.3-euryale-70b
*/
 | "sao10k/l3.3-euryale-70b"
/** OpenAI: o1
@capabilities max_tokens, response_format, seed, structured_outputs, tool_choice, tools
@context_length 200000
@url https://openrouter.ai/openai/o1
*/
 | "openai/o1"
/** Cohere: Command R7B (12-2024)
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_p
@context_length 128000
@url https://openrouter.ai/cohere/command-r7b-12-2024
*/
 | "cohere/command-r7b-12-2024"
/** Google: Gemini 2.0 Flash Experimental (free)
@capabilities max_tokens, response_format, seed, stop, temperature, tool_choice, tools, top_p
@context_length 1048576
@url https://openrouter.ai/google/gemini-2.0-flash-exp:free
*/
 | "google/gemini-2.0-flash-exp:free"
/** Meta: Llama 3.3 70B Instruct (free)
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 65536
@url https://openrouter.ai/meta-llama/llama-3.3-70b-instruct:free
*/
 | "meta-llama/llama-3.3-70b-instruct:free"
/** Meta: Llama 3.3 70B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/meta-llama/llama-3.3-70b-instruct
*/
 | "meta-llama/llama-3.3-70b-instruct"
/** Amazon: Nova Lite 1.0
@capabilities max_tokens, stop, temperature, tools, top_k, top_p
@context_length 300000
@url https://openrouter.ai/amazon/nova-lite-v1
*/
 | "amazon/nova-lite-v1"
/** Amazon: Nova Micro 1.0
@capabilities max_tokens, stop, temperature, tools, top_k, top_p
@context_length 128000
@url https://openrouter.ai/amazon/nova-micro-v1
*/
 | "amazon/nova-micro-v1"
/** Amazon: Nova Pro 1.0
@capabilities max_tokens, stop, temperature, tools, top_k, top_p
@context_length 300000
@url https://openrouter.ai/amazon/nova-pro-v1
*/
 | "amazon/nova-pro-v1"
/** OpenAI: GPT-4o (2024-11-20)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p, web_search_options
@context_length 128000
@url https://openrouter.ai/openai/gpt-4o-2024-11-20
*/
 | "openai/gpt-4o-2024-11-20"
/** Mistral Large 2411
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 131072
@url https://openrouter.ai/mistralai/mistral-large-2411
*/
 | "mistralai/mistral-large-2411"
/** Mistral Large 2407
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 131072
@url https://openrouter.ai/mistralai/mistral-large-2407
*/
 | "mistralai/mistral-large-2407"
/** Mistral: Pixtral Large 2411
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 131072
@url https://openrouter.ai/mistralai/pixtral-large-2411
*/
 | "mistralai/pixtral-large-2411"
/** Qwen2.5 Coder 32B Instruct (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/qwen/qwen-2.5-coder-32b-instruct:free
*/
 | "qwen/qwen-2.5-coder-32b-instruct:free"
/** Qwen2.5 Coder 32B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/qwen/qwen-2.5-coder-32b-instruct
*/
 | "qwen/qwen-2.5-coder-32b-instruct"
/** SorcererLM 8x22B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 16000
@url https://openrouter.ai/raifle/sorcererlm-8x22b
*/
 | "raifle/sorcererlm-8x22b"
/** TheDrummer: UnslopNemo 12B
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 32768
@url https://openrouter.ai/thedrummer/unslopnemo-12b
*/
 | "thedrummer/unslopnemo-12b"
/** Anthropic: Claude 3.5 Haiku (2024-10-22)
@capabilities max_tokens, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 200000
@url https://openrouter.ai/anthropic/claude-3.5-haiku-20241022
*/
 | "anthropic/claude-3.5-haiku-20241022"
/** Anthropic: Claude 3.5 Haiku
@capabilities max_tokens, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 200000
@url https://openrouter.ai/anthropic/claude-3.5-haiku
*/
 | "anthropic/claude-3.5-haiku"
/** Magnum v4 72B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_a, top_k, top_p
@context_length 16384
@url https://openrouter.ai/anthracite-org/magnum-v4-72b
*/
 | "anthracite-org/magnum-v4-72b"
/** Anthropic: Claude 3.5 Sonnet
@capabilities max_tokens, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 200000
@url https://openrouter.ai/anthropic/claude-3.5-sonnet
*/
 | "anthropic/claude-3.5-sonnet"
/** Mistral: Ministral 3B
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, top_p
@context_length 32768
@url https://openrouter.ai/mistralai/ministral-3b
*/
 | "mistralai/ministral-3b"
/** Mistral: Ministral 8B
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 128000
@url https://openrouter.ai/mistralai/ministral-8b
*/
 | "mistralai/ministral-8b"
/** Qwen2.5 7B Instruct
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_p
@context_length 65536
@url https://openrouter.ai/qwen/qwen-2.5-7b-instruct
*/
 | "qwen/qwen-2.5-7b-instruct"
/** NVIDIA: Llama 3.1 Nemotron 70B Instruct
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 131072
@url https://openrouter.ai/nvidia/llama-3.1-nemotron-70b-instruct
*/
 | "nvidia/llama-3.1-nemotron-70b-instruct"
/** Inflection: Inflection 3 Productivity
@capabilities max_tokens, stop, temperature, top_p
@context_length 8000
@url https://openrouter.ai/inflection/inflection-3-productivity
*/
 | "inflection/inflection-3-productivity"
/** Inflection: Inflection 3 Pi
@capabilities max_tokens, stop, temperature, top_p
@context_length 8000
@url https://openrouter.ai/inflection/inflection-3-pi
*/
 | "inflection/inflection-3-pi"
/** TheDrummer: Rocinante 12B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p
@context_length 32768
@url https://openrouter.ai/thedrummer/rocinante-12b
*/
 | "thedrummer/rocinante-12b"
/** Magnum v2 72B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 32768
@url https://openrouter.ai/anthracite-org/magnum-v2-72b
*/
 | "anthracite-org/magnum-v2-72b"
/** Meta: Llama 3.2 1B Instruct
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/meta-llama/llama-3.2-1b-instruct
*/
 | "meta-llama/llama-3.2-1b-instruct"
/** Meta: Llama 3.2 90B Vision Instruct
@capabilities frequency_penalty, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, top_k, top_p
@context_length 32768
@url https://openrouter.ai/meta-llama/llama-3.2-90b-vision-instruct
*/
 | "meta-llama/llama-3.2-90b-vision-instruct"
/** Meta: Llama 3.2 11B Vision Instruct
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/meta-llama/llama-3.2-11b-vision-instruct
*/
 | "meta-llama/llama-3.2-11b-vision-instruct"
/** Meta: Llama 3.2 3B Instruct (free)
@capabilities frequency_penalty, max_tokens, presence_penalty, stop, temperature, top_k, top_p
@context_length 131072
@url https://openrouter.ai/meta-llama/llama-3.2-3b-instruct:free
*/
 | "meta-llama/llama-3.2-3b-instruct:free"
/** Meta: Llama 3.2 3B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 16384
@url https://openrouter.ai/meta-llama/llama-3.2-3b-instruct
*/
 | "meta-llama/llama-3.2-3b-instruct"
/** Qwen2.5 72B Instruct (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/qwen/qwen-2.5-72b-instruct:free
*/
 | "qwen/qwen-2.5-72b-instruct:free"
/** Qwen2.5 72B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/qwen/qwen-2.5-72b-instruct
*/
 | "qwen/qwen-2.5-72b-instruct"
/** NeverSleep: Lumimaid v0.2 8B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_a, top_k, top_p
@context_length 32768
@url https://openrouter.ai/neversleep/llama-3.1-lumimaid-8b
*/
 | "neversleep/llama-3.1-lumimaid-8b"
/** OpenAI: o1-mini (2024-09-12)
@capabilities max_tokens, seed
@context_length 128000
@url https://openrouter.ai/openai/o1-mini-2024-09-12
*/
 | "openai/o1-mini-2024-09-12"
/** OpenAI: o1-mini
@capabilities max_tokens, seed
@context_length 128000
@url https://openrouter.ai/openai/o1-mini
*/
 | "openai/o1-mini"
/** Mistral: Pixtral 12B
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/mistralai/pixtral-12b
*/
 | "mistralai/pixtral-12b"
/** Cohere: Command R (08-2024)
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tools, top_k, top_p
@context_length 128000
@url https://openrouter.ai/cohere/command-r-08-2024
*/
 | "cohere/command-r-08-2024"
/** Cohere: Command R+ (08-2024)
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tools, top_k, top_p
@context_length 128000
@url https://openrouter.ai/cohere/command-r-plus-08-2024
*/
 | "cohere/command-r-plus-08-2024"
/** Qwen: Qwen2.5-VL 7B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/qwen/qwen-2.5-vl-7b-instruct
*/
 | "qwen/qwen-2.5-vl-7b-instruct"
/** Sao10K: Llama 3.1 Euryale 70B v2.2
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_p
@context_length 32768
@url https://openrouter.ai/sao10k/l3.1-euryale-70b
*/
 | "sao10k/l3.1-euryale-70b"
/** Microsoft: Phi-3.5 Mini 128K Instruct
@capabilities max_tokens, temperature, tool_choice, tools, top_p
@context_length 128000
@url https://openrouter.ai/microsoft/phi-3.5-mini-128k-instruct
*/
 | "microsoft/phi-3.5-mini-128k-instruct"
/** Nous: Hermes 3 70B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 65000
@url https://openrouter.ai/nousresearch/hermes-3-llama-3.1-70b
*/
 | "nousresearch/hermes-3-llama-3.1-70b"
/** Nous: Hermes 3 405B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/nousresearch/hermes-3-llama-3.1-405b
*/
 | "nousresearch/hermes-3-llama-3.1-405b"
/** OpenAI: ChatGPT-4o
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, top_logprobs, top_p
@context_length 128000
@url https://openrouter.ai/openai/chatgpt-4o-latest
*/
 | "openai/chatgpt-4o-latest"
/** Sao10K: Llama 3 8B Lunaris
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, top_k, top_p
@context_length 8192
@url https://openrouter.ai/sao10k/l3-lunaris-8b
*/
 | "sao10k/l3-lunaris-8b"
/** OpenAI: GPT-4o (2024-08-06)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p, web_search_options
@context_length 128000
@url https://openrouter.ai/openai/gpt-4o-2024-08-06
*/
 | "openai/gpt-4o-2024-08-06"
/** Meta: Llama 3.1 405B (base)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/meta-llama/llama-3.1-405b
*/
 | "meta-llama/llama-3.1-405b"
/** Meta: Llama 3.1 405B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 32768
@url https://openrouter.ai/meta-llama/llama-3.1-405b-instruct
*/
 | "meta-llama/llama-3.1-405b-instruct"
/** Meta: Llama 3.1 70B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/meta-llama/llama-3.1-70b-instruct
*/
 | "meta-llama/llama-3.1-70b-instruct"
/** Meta: Llama 3.1 8B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 16384
@url https://openrouter.ai/meta-llama/llama-3.1-8b-instruct
*/
 | "meta-llama/llama-3.1-8b-instruct"
/** Mistral: Mistral Nemo (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/mistralai/mistral-nemo:free
*/
 | "mistralai/mistral-nemo:free"
/** Mistral: Mistral Nemo
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 131072
@url https://openrouter.ai/mistralai/mistral-nemo
*/
 | "mistralai/mistral-nemo"
/** OpenAI: GPT-4o-mini (2024-07-18)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p, web_search_options
@context_length 128000
@url https://openrouter.ai/openai/gpt-4o-mini-2024-07-18
*/
 | "openai/gpt-4o-mini-2024-07-18"
/** OpenAI: GPT-4o-mini
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p, web_search_options
@context_length 128000
@url https://openrouter.ai/openai/gpt-4o-mini
*/
 | "openai/gpt-4o-mini"
/** Google: Gemma 2 27B
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, stop, structured_outputs, temperature, top_p
@context_length 8192
@url https://openrouter.ai/google/gemma-2-27b-it
*/
 | "google/gemma-2-27b-it"
/** Google: Gemma 2 9B (free)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 8192
@url https://openrouter.ai/google/gemma-2-9b-it:free
*/
 | "google/gemma-2-9b-it:free"
/** Google: Gemma 2 9B
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, top_k, top_logprobs, top_p
@context_length 8192
@url https://openrouter.ai/google/gemma-2-9b-it
*/
 | "google/gemma-2-9b-it"
/** Anthropic: Claude 3.5 Sonnet (2024-06-20)
@capabilities max_tokens, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 200000
@url https://openrouter.ai/anthropic/claude-3.5-sonnet-20240620
*/
 | "anthropic/claude-3.5-sonnet-20240620"
/** Sao10k: Llama 3 Euryale 70B v2.1
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 8192
@url https://openrouter.ai/sao10k/l3-euryale-70b
*/
 | "sao10k/l3-euryale-70b"
/** Mistral: Mistral 7B Instruct (free)
@capabilities frequency_penalty, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 32768
@url https://openrouter.ai/mistralai/mistral-7b-instruct:free
*/
 | "mistralai/mistral-7b-instruct:free"
/** Mistral: Mistral 7B Instruct
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 32768
@url https://openrouter.ai/mistralai/mistral-7b-instruct
*/
 | "mistralai/mistral-7b-instruct"
/** Mistral: Mistral 7B Instruct v0.3
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 32768
@url https://openrouter.ai/mistralai/mistral-7b-instruct-v0.3
*/
 | "mistralai/mistral-7b-instruct-v0.3"
/** NousResearch: Hermes 2 Pro - Llama-3 8B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_p
@context_length 32768
@url https://openrouter.ai/nousresearch/hermes-2-pro-llama-3-8b
*/
 | "nousresearch/hermes-2-pro-llama-3-8b"
/** Microsoft: Phi-3 Mini 128K Instruct
@capabilities max_tokens, temperature, tool_choice, tools, top_p
@context_length 128000
@url https://openrouter.ai/microsoft/phi-3-mini-128k-instruct
*/
 | "microsoft/phi-3-mini-128k-instruct"
/** Microsoft: Phi-3 Medium 128K Instruct
@capabilities max_tokens, temperature, tool_choice, tools, top_p
@context_length 128000
@url https://openrouter.ai/microsoft/phi-3-medium-128k-instruct
*/
 | "microsoft/phi-3-medium-128k-instruct"
/** NeverSleep: Llama 3 Lumimaid 70B
@capabilities frequency_penalty, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, top_k, top_p
@context_length 8192
@url https://openrouter.ai/neversleep/llama-3-lumimaid-70b
*/
 | "neversleep/llama-3-lumimaid-70b"
/** OpenAI: GPT-4o
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p, web_search_options
@context_length 128000
@url https://openrouter.ai/openai/gpt-4o
*/
 | "openai/gpt-4o"
/** OpenAI: GPT-4o (extended)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p, web_search_options
@context_length 128000
@url https://openrouter.ai/openai/gpt-4o:extended
*/
 | "openai/gpt-4o:extended"
/** OpenAI: GPT-4o (2024-05-13)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p, web_search_options
@context_length 128000
@url https://openrouter.ai/openai/gpt-4o-2024-05-13
*/
 | "openai/gpt-4o-2024-05-13"
/** Meta: LlamaGuard 2 8B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, stop, temperature, top_k, top_p
@context_length 8192
@url https://openrouter.ai/meta-llama/llama-guard-2-8b
*/
 | "meta-llama/llama-guard-2-8b"
/** Meta: Llama 3 8B Instruct
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 8192
@url https://openrouter.ai/meta-llama/llama-3-8b-instruct
*/
 | "meta-llama/llama-3-8b-instruct"
/** Meta: Llama 3 70B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 8192
@url https://openrouter.ai/meta-llama/llama-3-70b-instruct
*/
 | "meta-llama/llama-3-70b-instruct"
/** Mistral: Mixtral 8x22B Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
@context_length 65536
@url https://openrouter.ai/mistralai/mixtral-8x22b-instruct
*/
 | "mistralai/mixtral-8x22b-instruct"
/** WizardLM-2 8x22B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, top_k, top_p
@context_length 65536
@url https://openrouter.ai/microsoft/wizardlm-2-8x22b
*/
 | "microsoft/wizardlm-2-8x22b"
/** OpenAI: GPT-4 Turbo
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 128000
@url https://openrouter.ai/openai/gpt-4-turbo
*/
 | "openai/gpt-4-turbo"
/** Anthropic: Claude 3 Haiku
@capabilities max_tokens, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 200000
@url https://openrouter.ai/anthropic/claude-3-haiku
*/
 | "anthropic/claude-3-haiku"
/** Anthropic: Claude 3 Opus
@capabilities max_tokens, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 200000
@url https://openrouter.ai/anthropic/claude-3-opus
*/
 | "anthropic/claude-3-opus"
/** Mistral Large
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 128000
@url https://openrouter.ai/mistralai/mistral-large
*/
 | "mistralai/mistral-large"
/** OpenAI: GPT-4 Turbo Preview
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 128000
@url https://openrouter.ai/openai/gpt-4-turbo-preview
*/
 | "openai/gpt-4-turbo-preview"
/** OpenAI: GPT-3.5 Turbo (older v0613)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 4095
@url https://openrouter.ai/openai/gpt-3.5-turbo-0613
*/
 | "openai/gpt-3.5-turbo-0613"
/** Mistral Small
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 32768
@url https://openrouter.ai/mistralai/mistral-small
*/
 | "mistralai/mistral-small"
/** Mistral Tiny
@capabilities frequency_penalty, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p
@context_length 32768
@url https://openrouter.ai/mistralai/mistral-tiny
*/
 | "mistralai/mistral-tiny"
/** Mistral: Mixtral 8x7B Instruct
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 32768
@url https://openrouter.ai/mistralai/mixtral-8x7b-instruct
*/
 | "mistralai/mixtral-8x7b-instruct"
/** Noromaid 20B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_a, top_k, top_p
@context_length 4096
@url https://openrouter.ai/neversleep/noromaid-20b
*/
 | "neversleep/noromaid-20b"
/** Goliath 120B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_a, top_k, top_p
@context_length 6144
@url https://openrouter.ai/alpindale/goliath-120b
*/
 | "alpindale/goliath-120b"
/** Auto Router
@capabilities
@context_length 2000000
@url https://openrouter.ai/openrouter/auto
*/
 | "openrouter/auto"
/** OpenAI: GPT-4 Turbo (older v1106)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 128000
@url https://openrouter.ai/openai/gpt-4-1106-preview
*/
 | "openai/gpt-4-1106-preview"
/** OpenAI: GPT-3.5 Turbo Instruct
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, top_logprobs, top_p
@context_length 4095
@url https://openrouter.ai/openai/gpt-3.5-turbo-instruct
*/
 | "openai/gpt-3.5-turbo-instruct"
/** Mistral: Mistral 7B Instruct v0.1
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, seed, stop, temperature, tool_choice, tools, top_k, top_p
@context_length 2824
@url https://openrouter.ai/mistralai/mistral-7b-instruct-v0.1
*/
 | "mistralai/mistral-7b-instruct-v0.1"
/** OpenAI: GPT-3.5 Turbo 16k
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 16385
@url https://openrouter.ai/openai/gpt-3.5-turbo-16k
*/
 | "openai/gpt-3.5-turbo-16k"
/** Mancer: Weaver (alpha)
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_a, top_k, top_p
@context_length 8000
@url https://openrouter.ai/mancer/weaver
*/
 | "mancer/weaver"
/** ReMM SLERP 13B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_a, top_k, top_p
@context_length 6144
@url https://openrouter.ai/undi95/remm-slerp-l2-13b
*/
 | "undi95/remm-slerp-l2-13b"
/** MythoMax 13B
@capabilities frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_a, top_k, top_p
@context_length 4096
@url https://openrouter.ai/gryphe/mythomax-l2-13b
*/
 | "gryphe/mythomax-l2-13b"
/** OpenAI: GPT-4
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 8191
@url https://openrouter.ai/openai/gpt-4
*/
 | "openai/gpt-4"
/** OpenAI: GPT-3.5 Turbo
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 16385
@url https://openrouter.ai/openai/gpt-3.5-turbo
*/
 | "openai/gpt-3.5-turbo"
/** OpenAI: GPT-4 (older v0314)
@capabilities frequency_penalty, logit_bias, logprobs, max_tokens, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p
@context_length 8191
@url https://openrouter.ai/openai/gpt-4-0314
*/
 | "openai/gpt-4-0314" | (string & {});
declare const toolCallingModels: readonly ["anthropic/claude-sonnet-4.5", "deepseek/deepseek-v3.2-exp", "google/gemini-2.5-flash-preview-09-2025", "google/gemini-2.5-flash-lite-preview-09-2025", "qwen/qwen3-vl-235b-a22b-thinking", "qwen/qwen3-vl-235b-a22b-instruct", "qwen/qwen3-max", "qwen/qwen3-coder-plus", "openai/gpt-5-codex", "deepseek/deepseek-v3.1-terminus", "x-ai/grok-4-fast:free", "x-ai/grok-4-fast", "alibaba/tongyi-deepresearch-30b-a3b", "qwen/qwen3-coder-flash", "qwen/qwen3-next-80b-a3b-thinking", "qwen/qwen3-next-80b-a3b-instruct", "meituan/longcat-flash-chat", "qwen/qwen-plus-2025-07-28", "qwen/qwen-plus-2025-07-28:thinking", "nvidia/nemotron-nano-9b-v2:free", "nvidia/nemotron-nano-9b-v2", "moonshotai/kimi-k2-0905", "deepcogito/cogito-v2-preview-llama-109b-moe", "stepfun-ai/step3", "qwen/qwen3-30b-a3b-thinking-2507", "x-ai/grok-code-fast-1", "nousresearch/hermes-4-70b", "nousresearch/hermes-4-405b", "deepseek/deepseek-chat-v3.1:free", "deepseek/deepseek-chat-v3.1", "openai/gpt-4o-audio-preview", "mistralai/mistral-medium-3.1", "z-ai/glm-4.5v", "ai21/jamba-mini-1.7", "ai21/jamba-large-1.7", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "anthropic/claude-opus-4.1", "mistralai/codestral-2508", "qwen/qwen3-coder-30b-a3b-instruct", "qwen/qwen3-30b-a3b-instruct-2507", "z-ai/glm-4.5", "z-ai/glm-4.5-air:free", "z-ai/glm-4.5-air", "qwen/qwen3-235b-a22b-thinking-2507", "z-ai/glm-4-32b", "qwen/qwen3-coder:free", "qwen/qwen3-coder", "google/gemini-2.5-flash-lite", "qwen/qwen3-235b-a22b-2507", "moonshotai/kimi-k2", "mistralai/devstral-medium", "mistralai/devstral-small", "x-ai/grok-4", "inception/mercury", "mistralai/mistral-small-3.2-24b-instruct:free", "mistralai/mistral-small-3.2-24b-instruct", "minimax/minimax-m1", "google/gemini-2.5-flash-lite-preview-06-17", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "openai/o3-pro", "x-ai/grok-3-mini", "x-ai/grok-3", "mistralai/magistral-small-2506", "mistralai/magistral-medium-2506", "mistralai/magistral-medium-2506:thinking", "google/gemini-2.5-pro-preview", "deepseek/deepseek-r1-0528", "anthropic/claude-opus-4", "anthropic/claude-sonnet-4", "mistralai/devstral-small-2505:free", "mistralai/devstral-small-2505", "openai/codex-mini", "meta-llama/llama-3.3-8b-instruct:free", "mistralai/mistral-medium-3", "google/gemini-2.5-pro-preview-05-06", "arcee-ai/virtuoso-large", "inception/mercury-coder", "qwen/qwen3-4b:free", "qwen/qwen3-30b-a3b", "qwen/qwen3-14b", "qwen/qwen3-32b", "qwen/qwen3-235b-a22b:free", "qwen/qwen3-235b-a22b", "openai/o4-mini-high", "openai/o3", "openai/o4-mini", "openai/gpt-4.1", "openai/gpt-4.1-mini", "openai/gpt-4.1-nano", "x-ai/grok-3-mini-beta", "x-ai/grok-3-beta", "meta-llama/llama-4-maverick:free", "meta-llama/llama-4-maverick", "meta-llama/llama-4-scout:free", "meta-llama/llama-4-scout", "deepseek/deepseek-chat-v3-0324:free", "deepseek/deepseek-chat-v3-0324", "mistralai/mistral-small-3.1-24b-instruct:free", "mistralai/mistral-small-3.1-24b-instruct", "microsoft/phi-4-multimodal-instruct", "qwen/qwq-32b", "google/gemini-2.0-flash-lite-001", "anthropic/claude-3.7-sonnet", "anthropic/claude-3.7-sonnet:thinking", "mistralai/mistral-saba", "openai/o3-mini-high", "google/gemini-2.0-flash-001", "qwen/qwen-turbo", "qwen/qwen-plus", "qwen/qwen-max", "openai/o3-mini", "mistralai/mistral-small-24b-instruct-2501", "deepseek/deepseek-r1-distill-llama-70b", "deepseek/deepseek-r1", "mistralai/codestral-2501", "deepseek/deepseek-chat", "openai/o1", "google/gemini-2.0-flash-exp:free", "meta-llama/llama-3.3-70b-instruct:free", "meta-llama/llama-3.3-70b-instruct", "amazon/nova-lite-v1", "amazon/nova-micro-v1", "amazon/nova-pro-v1", "openai/gpt-4o-2024-11-20", "mistralai/mistral-large-2411", "mistralai/mistral-large-2407", "mistralai/pixtral-large-2411", "thedrummer/unslopnemo-12b", "anthropic/claude-3.5-haiku-20241022", "anthropic/claude-3.5-haiku", "anthropic/claude-3.5-sonnet", "mistralai/ministral-8b", "nvidia/llama-3.1-nemotron-70b-instruct", "thedrummer/rocinante-12b", "meta-llama/llama-3.2-3b-instruct", "qwen/qwen-2.5-72b-instruct", "mistralai/pixtral-12b", "cohere/command-r-08-2024", "cohere/command-r-plus-08-2024", "microsoft/phi-3.5-mini-128k-instruct", "nousresearch/hermes-3-llama-3.1-70b", "openai/gpt-4o-2024-08-06", "meta-llama/llama-3.1-405b-instruct", "meta-llama/llama-3.1-70b-instruct", "meta-llama/llama-3.1-8b-instruct", "mistralai/mistral-nemo", "openai/gpt-4o-mini-2024-07-18", "openai/gpt-4o-mini", "anthropic/claude-3.5-sonnet-20240620", "mistralai/mistral-7b-instruct:free", "mistralai/mistral-7b-instruct", "mistralai/mistral-7b-instruct-v0.3", "microsoft/phi-3-mini-128k-instruct", "microsoft/phi-3-medium-128k-instruct", "openai/gpt-4o", "openai/gpt-4o:extended", "openai/gpt-4o-2024-05-13", "meta-llama/llama-3-8b-instruct", "meta-llama/llama-3-70b-instruct", "mistralai/mixtral-8x22b-instruct", "openai/gpt-4-turbo", "anthropic/claude-3-haiku", "anthropic/claude-3-opus", "mistralai/mistral-large", "openai/gpt-4-turbo-preview", "openai/gpt-3.5-turbo-0613", "mistralai/mistral-small", "mistralai/mistral-tiny", "mistralai/mixtral-8x7b-instruct", "openai/gpt-4-1106-preview", "mistralai/mistral-7b-instruct-v0.1", "openai/gpt-3.5-turbo-16k", "openai/gpt-4", "openai/gpt-3.5-turbo", "openai/gpt-4-0314"];
type ToolCallingModel = (typeof toolCallingModels)[number] | (string & {});

interface IHttpClient {
    post(url: string, data: any, config?: any): Promise<any>;
    get(url: string): Promise<any>;
}
interface IStreamHandler {
    handleStream(stream: unknown): EventEmitter__default;
}
interface QueryResponseModel {
    id: string;
    name: string;
    created: number;
    description: string;
    pricing: ModelPricing;
    context_length: number;
    supported_parameters: string[];
    architecture: ModelArchitecture;
    top_provider: TopProvider;
    per_request_limits: PerRequestLimits;
}
interface ModelPricing {
    prompt: string;
    completion: string;
    request: string;
    image: string;
}
interface ModelArchitecture {
    tokenizer: "Router";
    instruct_type: "none" | string;
    modality: "text->text" | string;
}
interface TopProvider {
    context_length: number;
    max_completion_tokens: number;
    is_moderated: boolean;
}
interface PerRequestLimits {
    prompt_tokens: number | null;
    completion_tokens: number | null;
}
type Request = {
    /**
     * The prompt to generate completions formatted as a string
     * Either `prompt` or `messages` is required
     */
    prompt?: string;
    /**
     * The messages to generate completions formatted as an array of objects
     * Either `prompt` or `messages` is required
     */
    messages?: Message[];
    /**
     * The model identifier to use for the request
     * If unspecified, uses the user's default model
     * @see {@link https://openrouter.ai/docs} for supported models
     * @optional
     */
    model?: RouterModel;
    /**
     * Forces the model to produce output in a specific format
     * Only supported by certain models - check model documentation
     * @optional
     */
    response_format?: {
        /** The type of response format to enforce */
        type: "json_object";
    };
    /**
     * Sequences that will cause the model to stop generating
     * Can be a single string or array of strings
     * @optional
     */
    stop?: string | string[];
    /**
     * Whether to stream the response tokens
     * @optional
     * @default false
     */
    stream?: boolean;
    /**
     * Maximum number of tokens to generate
     * @optional
     * @range [1, context_length)
     */
    max_tokens?: number;
    /**
     * Controls randomness in the output
     * Higher values = more random, lower = more focused
     * @optional
     * @range [0, 2]
     */
    temperature?: number;
    /**
     * Tool configurations for function calling capabilities
     * Passed directly to providers implementing OpenAI's interface
     * Transformed to YAML template for other providers
     * @see {@link https://openrouter.ai/models?supported_parameters=tools}
     * @optional
     */
    tools?: Tool[];
    /**
     * Specifies how tools should be used
     * @optional
     */
    tool_choice?: ToolChoice;
    /**
     * Random seed for reproducible outputs
     * Must be an integer
     * @optional
     */
    seed?: number;
    /**
     * Nucleus sampling threshold
     * @optional
     * @range (0, 1]
     */
    top_p?: number;
    /**
     * Limits vocabulary to k highest probability tokens
     * Not available for OpenAI models
     * @optional
     * @range [1, Infinity)
     */
    top_k?: number;
    /**
     * Penalizes tokens based on their frequency
     * @optional
     * @range [-2, 2]
     */
    frequency_penalty?: number;
    /**
     * Penalizes tokens based on their presence
     * @optional
     * @range [-2, 2]
     */
    presence_penalty?: number;
    /**
     * Penalizes token repetition
     * @optional
     * @range (0, 2]
     */
    repetition_penalty?: number;
    /**
     * Token-level bias adjustments
     * @optional
     */
    logit_bias?: {
        [key: number]: number;
    };
    /**
     * Number of most likely tokens to return with their probabilities
     * Must be an integer
     * @optional
     */
    top_logprobs?: number;
    /**
     * Minimum probability threshold for token selection
     * @optional
     * @range [0, 1]
     */
    min_p?: number;
    /**
     * Dynamic nucleus sampling threshold
     * @optional
     * @range [0, 1]
     */
    top_a?: number;
    /**
     * Predicted output to reduce latency
     * @see {@link https://platform.openai.com/docs/guides/latency-optimization#use-predicted-outputs}
     * @optional
     */
    prediction?: {
        type: "content";
        content: string;
    };
    /**
     * Array of prompt transformation identifiers
     * @see {@link https://openrouter.ai/docs/transforms}
     * @optional
     */
    transforms?: string[];
    /**
     * Array of model identifiers for routing
     * @see {@link https://openrouter.ai/docs/model-routing}
     * @optional
     */
    models?: RouterModel[];
    /**
     * Routing strategy
     * @optional
     */
    route?: "fallback";
    /**
     * Provider preferences for routing
     * @see {@link https://openrouter.ai/docs/provider-routing}
     * @optional
     */
    provider?: ProviderPreferences;
    /**
     * Signal for aborting the request
     */
    signal?: AbortSignal;
};
type TextContent = {
    type: "text";
    text: string;
};
type ImageContentPart = {
    type: "image_url";
    image_url: {
        url: string;
        detail?: string;
    };
};
type ContentPart = TextContent | ImageContentPart;
type Message = {
    role: "user" | "assistant" | "system";
    content: string | ContentPart[];
    name?: string;
} | {
    role: "tool";
    content: string;
    tool_call_id: string;
    name?: string;
};
type FunctionDescription = {
    description?: string;
    name: string;
    parameters: object;
};
type Tool = {
    type: "function";
    function: FunctionDescription;
};
type ToolChoice = "none" | "auto" | {
    type: "function";
    function: {
        name: string;
    };
};
type ProviderName = "AI21" | "AionLabs" | "Alibaba" | "Amazon Bedrock" | "Anthropic" | "Atoma" | "Avian.io" | "Azure" | "CentML" | "Chutes" | "Cloudflare" | "Cohere" | "Crusoe" | "DeepInfra" | "DeepSeek" | "Enfer" | "Featherless" | "Fireworks" | "Friendli" | "GMICloud" | "Google AI Studio" | "Google Vertex" | "Groq" | "Hyperbolic" | "Hyperbolic (quantized)" | "Inception" | "inference.net" | "Infermatic" | "Inflection" | "InoCloud" | "kluster.ai" | "Lambda" | "Lepton" | "Liquid" | "Mancer" | "Mancer (private)" | "Minimax" | "Mistral" | "nCompass" | "Nebius AI Studio" | "NextBit" | "Nineteen" | "NovitaAI" | "OpenAI" | "OpenInference" | "Parasail" | "Perplexity" | "Phala" | "Reflection" | "SambaNova" | "Stealth" | "Targon" | "Together" | "Together (lite)" | "Ubicloud" | "Venice" | "xAI";
type DataCollectionSetting = "deny" | "allow";
type Quantization = "int4" | "int8" | "fp6" | "fp8" | "fp16" | "bf16" | "unknown";
interface ProviderPreferences {
    /**
     * Whether to allow backup providers to serve requests
     * - true: (default) when the primary provider (or your custom providers in "order") is unavailable, use the next best provider.
     * - false: use only the primary/custom provider, and return the upstream error if it's unavailable.
     */
    allow_fallbacks?: boolean | null;
    /**
     * Whether to filter providers to only those that support the parameters you've provided.
     * If this setting is omitted or set to false, then providers will receive only the parameters they support,
     * and ignore the rest.
     */
    require_parameters?: boolean | null;
    /**
     * Data collection setting. If no available model provider meets the requirement, your request will return an error.
     * - allow: (default) allow providers which store user data non-transiently and may train on it
     * - deny: use only providers which do not collect user data.
     */
    data_collection?: DataCollectionSetting | null;
    /**
     * An ordered list of provider names. The router will attempt to use the first provider in the subset
     * of this list that supports your requested model, and fall back to the next if it is unavailable.
     * If no providers are available, the request will fail with an error message.
     */
    order?: ProviderName[] | null;
    /**
     * List of provider names to ignore. If provided, this list is merged with your account-wide
     * ignored provider settings for this request.
     */
    ignore?: ProviderName[] | null;
    /**
     * A list of quantization levels to filter the provider by.
     */
    quantizations?: Quantization[] | null;
}
type BaseRequest$1 = {
    model?: string;
    stream?: boolean;
    temperature?: number;
};
type CompletionRequest$1 = (BaseRequest$1 & {
    messages: Message[];
    prompt?: undefined;
}) | (BaseRequest$1 & {
    prompt: string;
    messages?: undefined;
});
type BaseResponse = {
    id: string;
    provider: string;
    model: string;
    created: number;
    system_fingerprint: string;
    usage?: ResponseUsage;
};
type MessageBasedResponse = BaseResponse & {
    object: "chat.completion";
    choices: Array<{
        logprobs: null;
        finish_reason: string | null;
        index?: number;
        message: {
            role: string;
            content: string;
            refusal?: string;
        };
        text: never;
    }>;
};
type PromptBasedResponse = BaseResponse & {
    object: "chat.completion";
    choices: Array<{
        logprobs: null;
        finish_reason: string | null;
        index?: number;
        text: string;
        message: never;
    }>;
};
type StreamingResponse = BaseResponse & {
    object: "chat.completion.chunk";
    choices: Array<{
        index: number;
        finish_reason: string | null;
        delta: {
            content?: string;
            role?: string;
            tool_calls?: ToolCall[];
        };
        error?: ErrorResponse$1;
    }>;
};
type ChatCompletionResult<TStreaming extends boolean, TRequest extends CompletionRequest$1> = TStreaming extends true ? EventEmitter__default : TRequest extends {
    messages: Message[];
} ? MessageBasedResponse : PromptBasedResponse;
type ResponseUsage = {
    /** Including images and tools if any */
    prompt_tokens: number;
    /** The tokens generated */
    completion_tokens: number;
    /** Sum of the above two fields */
    total_tokens: number;
};
type ErrorResponse$1 = {
    code: number;
    message: string;
    metadata?: Record<string, unknown>;
};
type ToolCall = {
    id: string;
    type: "function";
    function: any;
};
type GenerationStats = {
    id: string;
    upstream_id: string;
    total_cost: number;
    cache_discount: any;
    provider_name: string;
    created_at: string;
    model: string;
    app_id: any;
    streamed: boolean;
    cancelled: boolean;
    latency: number;
    moderation_latency: any;
    generation_time: number;
    finish_reason: string;
    tokens_prompt: number;
    tokens_completion: number;
    native_tokens_prompt: number;
    native_tokens_completion: number;
    native_tokens_reasoning: any;
    num_media_prompt: any;
    num_media_completion: any;
    origin: string;
    usage: number;
};
/**
 * Configuration options for the Agent
 */
interface AgentOptions {
    /**
     * Maximum number of iterations the agent will perform before giving up
     * @default 5
     */
    maxIterations?: number;
    /**
     * The model to use for the agent
     * If not provided, falls back to the client's default model
     */
    model?: RouterModel;
    /**
     * System prompt to instruct the agent
     * If not provided, a default prompt will be generated based on markers
     */
    systemPrompt?: string;
    /**
     * Whether to prepend the default system prompt to the user's system prompt
     * @default false
     */
    prependDefaultPrompt?: boolean;
    /**
     * Tools the agent can use to perform tasks
     * @default []
     */
    tools?: AgentTool[];
    /**
     * Whether to emit verbose debugging events
     * @default false
     */
    verbose?: boolean;
    /**
     * Markers for different parts of the agent's thought process
     * Used for UI rendering and response formatting
     */
    markers?: AgentMarkers;
    /**
     * Custom function to determine when the agent should stop iterations
     * By default, stops when the finalAnswer marker is found
     */
    stopCondition?: (messages: Message[]) => boolean;
}
/**
 * UI markers for different parts of the agent's thought process
 */
interface AgentMarkers {
    /**
     * Opening and closing markers for the agent's thinking/reasoning process
     * @default "<thinking>" for both opening and closing
     */
    thinking?: string | {
        open: string;
        close: string;
    };
    /**
     * Opening and closing markers for when the agent decides to take an action (usually using a tool)
     * @default "<action>" for both opening and closing
     */
    action?: string | {
        open: string;
        close: string;
    };
    /**
     * Opening and closing markers for observations after receiving tool results
     * @default "<observation>" for both opening and closing
     */
    observation?: string | {
        open: string;
        close: string;
    };
    /**
     * Opening and closing markers for the final answer/conclusion
     * @default "<answer>" for both opening and closing
     */
    finalAnswer?: string | {
        open: string;
        close: string;
    };
}
/**
 * Tool definition for agent functions
 */
interface AgentTool {
    /**
     * Name of the tool - used by the LLM to invoke it
     */
    name: string;
    /**
     * Description of what the tool does
     * This helps the LLM understand when to use the tool
     */
    description: string;
    /**
     * JSON Schema defining the parameters for the tool
     * Should be an object type with properties
     */
    parameters: object;
    /**
     * Function that executes the tool's functionality
     * Returns a promise that resolves to the tool's result
     */
    execute: (params: any) => Promise<any>;
}
/**
 * Events emitted by the Agent during execution
 */
interface AgentEvents {
    /**
     * Emitted for each token when streaming
     */
    token: (token: string) => void;
    /**
     * Emitted when a marker (thinking/action/observation/answer) is found
     */
    marker: (data: {
        type: string;
        content: string;
    }) => void;
    /**
     * Emitted when the agent calls a tool
     */
    tool_call: (data: {
        name: string;
        args: any;
    }) => void;
    /**
     * Emitted when a tool returns a result
     */
    tool_result: (data: {
        tool: string;
        args: any;
        result: any;
    }) => void;
    /**
     * Emitted when a tool throws an error
     */
    tool_error: (data: {
        tool: string;
        args: any;
        error: any;
    }) => void;
    /**
     * Emitted at the start of each iteration when verbose is true
     */
    iteration: (data: {
        iteration: number;
        messages: Message[];
    }) => void;
    /**
     * Emitted when the agent gets a response from the LLM
     */
    response: (message: Message) => void;
    /**
     * Emitted when the agent extracts a final answer
     */
    final_answer: (answer: string) => void;
    /**
     * Emitted when the agent completes execution
     */
    complete: () => void;
    /**
     * Emitted when an error occurs
     */
    error: (error: Error) => void;
}
/**
 * Return type for non-streaming agent execution
 */
type AgentResult = string;
/**
 * Return type for streaming agent execution
 */
type AgentStreamResult = EventEmitter__default;

type BaseRequest = Omit<Request, "messages" | "prompt">;
type MessagesRequest = BaseRequest & {
    messages: Message[];
    prompt?: never;
};
type PromptRequest = BaseRequest & {
    prompt: string;
    messages?: never;
};
type CompletionRequest = MessagesRequest | PromptRequest;
declare class OpenRouterClient {
    private readonly apiKey;
    private readonly defaultConfig;
    private readonly baseURL;
    private httpClient;
    private streamHandler;
    constructor(apiKey: string, defaultConfig?: {
        siteUrl?: string;
        siteName?: string;
        model?: RouterModel;
    }, httpClient?: IHttpClient, streamHandler?: IStreamHandler);
    private getDefaultHeaders;
    chatCompletion<TStreaming extends boolean = false, TRequest extends CompletionRequest = CompletionRequest>(options: TRequest & {
        stream?: TStreaming;
    }): Promise<ChatCompletionResult<TStreaming, TRequest>>;
    getGenerationStats(generationId: string): Promise<GenerationStats>;
    getModels(): Promise<QueryResponseModel[]>;
}

/**
 * Agent class for performing chain-of-thought reasoning with LLMs
 */
declare class Agent extends EventEmitter$1 {
    private client;
    private options;
    private messages;
    private normalizedMarkers;
    constructor(client: OpenRouterClient, options?: AgentOptions);
    /**
     * Default stop condition - checks if the message contains the final answer marker
     */
    private defaultStopCondition;
    /**
     * Gets the default system prompt with markers
     */
    private getDefaultSystemPrompt;
    /**
     * Run the agent on a query (non-streaming)
     */
    run(query: string): Promise<string>;
    /**
     * Helper method to escape special regex characters
     */
    private escapeRegExp;
    /**
     * Run the agent on a query with streaming support
     */
    runStream(query: string): Promise<EventEmitter$1>;
    /**
     * Format tools for the LLM API
     */
    private formatTools;
}

interface ErrorResponse {
    error: {
        code: number;
        message: string;
        metadata?: ModerationErrorMetadata | ProviderErrorMetadata;
    };
}
interface ModerationErrorMetadata {
    reasons: string[];
    flagged_input: string;
    provider_name: string;
    model_slug: string;
}
interface ProviderErrorMetadata {
    provider_name: string;
    raw: unknown;
}
declare class OpenRouterErrorAdapter {
    private static readonly ERROR_MESSAGES;
    static handleError(error: unknown): never;
    private static isAxiosError;
    private static handleAxiosError;
    private static isOpenRouterError;
    private static createDetailedError;
    private static isModerationError;
    private static isProviderError;
}

declare class HttpClient implements IHttpClient {
    private client;
    constructor(baseURL: string, headers: Record<string, string>);
    post(url: string, data: any, config?: any): Promise<axios.AxiosResponse<any, any>>;
    get(url: string): Promise<axios.AxiosResponse<any, any>>;
}

declare class StreamHandler implements IStreamHandler {
    handleStream(stream: EventEmitter): EventEmitter$1;
}

export { Agent, type AgentEvents, type AgentMarkers, type AgentOptions, type AgentResult, type AgentStreamResult, type AgentTool, type ChatCompletionResult, type DataCollectionSetting, type ErrorResponse, type GenerationStats, HttpClient, type IHttpClient, type IStreamHandler, type Message, OpenRouterClient, OpenRouterErrorAdapter, type ProviderName, type ProviderPreferences, type Quantization, type QueryResponseModel, type Request, type RouterModel, StreamHandler, type StreamingResponse, type ToolCallingModel, toolCallingModels };
