[{"id":"anthropic","name":"Anthropic","pricing_urls":["https://www.anthropic.com/pricing#api"],"api_pattern":"https://api\\.anthropic\\.com","model_match":{"contains":"claude"},"provider_match":{"contains":"anthropic"},"extractors":[{"api_flavor":"default","root":"usage","model_path":"model","mappings":[{"path":"input_tokens","dest":"input_tokens","required":true},{"path":"cache_creation_input_tokens","dest":"input_tokens","required":false},{"path":"cache_read_input_tokens","dest":"input_tokens","required":false},{"path":"cache_creation_input_tokens","dest":"cache_write_tokens","required":false},{"path":"cache_read_input_tokens","dest":"cache_read_tokens","required":false},{"path":"output_tokens","dest":"output_tokens","required":true}]},{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":"cached_tokens","dest":"cache_read_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"claude-2","match":{"or":[{"starts_with":"claude-2"},{"contains":"claude-v2"}]},"context_window":200000,"prices":{"input_mtok":8,"output_mtok":24}},{"id":"claude-3-5-haiku-latest","match":{"or":[{"starts_with":"claude-3-5-haiku"},{"starts_with":"claude-3.5-haiku"}]},"context_window":200000,"prices":{"input_mtok":0.8,"cache_write_mtok":1,"cache_read_mtok":0.08,"output_mtok":4}},{"id":"claude-3-5-sonnet","match":{"or":[{"starts_with":"claude-3-5-sonnet"},{"starts_with":"claude-3.5-sonnet"}]},"context_window":200000,"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"claude-3-7-sonnet-latest","match":{"or":[{"starts_with":"claude-3-7-sonnet"},{"starts_with":"claude-3.7-sonnet"},{"starts_with":"claude-sonnet-3.7"},{"starts_with":"claude-sonnet-3-7"}]},"context_window":200000,"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"claude-3-haiku","match":{"starts_with":"claude-3-haiku"},"context_window":200000,"prices":{"input_mtok":0.25,"cache_write_mtok":0.3,"cache_read_mtok":0.03,"output_mtok":1.25}},{"id":"claude-3-opus-latest","match":{"starts_with":"claude-3-opus"},"context_window":200000,"prices":{"input_mtok":15,"cache_write_mtok":18.75,"cache_read_mtok":1.5,"output_mtok":75}},{"id":"claude-3-sonnet","match":{"starts_with":"claude-3-sonnet"},"context_window":200000,"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"claude-fable-5","match":{"starts_with":"claude-fable-5"},"context_window":1000000,"prices":{"input_mtok":10,"cache_write_mtok":12.5,"cache_read_mtok":1,"output_mtok":50}},{"id":"claude-haiku-4-5","match":{"or":[{"starts_with":"claude-haiku-4-5"},{"starts_with":"claude-haiku-4.5"},{"starts_with":"claude-4-5-haiku"},{"starts_with":"claude-4.5-haiku"}]},"context_window":200000,"prices":{"input_mtok":1,"cache_write_mtok":1.25,"cache_read_mtok":0.1,"output_mtok":5}},{"id":"claude-opus-4-0","match":{"or":[{"starts_with":"claude-opus-4-0"},{"starts_with":"claude-4-opus"},{"equals":"claude-opus-4"},{"equals":"claude-opus-4-20250514"}]},"context_window":200000,"prices":{"input_mtok":15,"cache_write_mtok":18.75,"cache_read_mtok":1.5,"output_mtok":75}},{"id":"claude-opus-4-1","match":{"or":[{"starts_with":"claude-opus-4-1"},{"starts_with":"claude-opus-4.1"}]},"context_window":200000,"prices":{"input_mtok":15,"cache_write_mtok":18.75,"cache_read_mtok":1.5,"output_mtok":75}},{"id":"claude-opus-4-5","match":{"or":[{"starts_with":"claude-opus-4-5"},{"starts_with":"claude-opus-4.5"},{"starts_with":"claude-4-5-opus"},{"starts_with":"claude-4.5-opus"}]},"context_window":200000,"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"claude-opus-4-6","match":{"or":[{"starts_with":"claude-opus-4-6"},{"starts_with":"claude-opus-4.6"},{"starts_with":"claude-4-6-opus"},{"starts_with":"claude-4.6-opus"}]},"context_window":200000,"prices":[{"prices":{"input_mtok":{"base":5,"tiers":[{"start":200000,"price":10}]},"cache_write_mtok":{"base":6.25,"tiers":[{"start":200000,"price":12.5}]},"cache_read_mtok":{"base":0.5,"tiers":[{"start":200000,"price":1}]},"output_mtok":{"base":25,"tiers":[{"start":200000,"price":37.5}]}}},{"constraint":{"start_date":"2026-03-13"},"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}}]},{"id":"claude-opus-4-7","match":{"or":[{"starts_with":"claude-opus-4-7"},{"starts_with":"claude-opus-4.7"},{"starts_with":"claude-4-7-opus"},{"starts_with":"claude-4.7-opus"}]},"context_window":1000000,"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"claude-opus-4-8","match":{"or":[{"starts_with":"claude-opus-4-8"},{"starts_with":"claude-opus-4.8"},{"starts_with":"claude-4-8-opus"},{"starts_with":"claude-4.8-opus"}]},"context_window":1000000,"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"claude-opus-5","match":{"or":[{"starts_with":"claude-opus-5"},{"starts_with":"claude-opus-5.0"},{"starts_with":"claude-5-opus"},{"starts_with":"claude-5.0-opus"}]},"context_window":1000000,"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"claude-sonnet-4-0","match":{"or":[{"starts_with":"claude-sonnet-4-2025"},{"starts_with":"claude-sonnet-4-0"},{"starts_with":"claude-sonnet-4@"},{"equals":"claude-sonnet-4"},{"starts_with":"claude-4-sonnet"}]},"context_window":200000,"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"claude-sonnet-4-5","match":{"or":[{"starts_with":"claude-sonnet-4-5"},{"starts_with":"claude-sonnet-4.5"}]},"context_window":1000000,"prices":{"input_mtok":{"base":3,"tiers":[{"start":200000,"price":6}]},"cache_write_mtok":{"base":3.75,"tiers":[{"start":200000,"price":7.5}]},"cache_read_mtok":{"base":0.3,"tiers":[{"start":200000,"price":0.6}]},"output_mtok":{"base":15,"tiers":[{"start":200000,"price":22.5}]}}},{"id":"claude-sonnet-4-6","match":{"or":[{"starts_with":"claude-sonnet-4-6"},{"starts_with":"claude-sonnet-4.6"}]},"context_window":1000000,"prices":[{"prices":{"input_mtok":{"base":3,"tiers":[{"start":200000,"price":6}]},"cache_write_mtok":{"base":3.75,"tiers":[{"start":200000,"price":7.5}]},"cache_read_mtok":{"base":0.3,"tiers":[{"start":200000,"price":0.6}]},"output_mtok":{"base":15,"tiers":[{"start":200000,"price":22.5}]}}},{"constraint":{"start_date":"2026-03-13"},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}}]},{"id":"claude-sonnet-5","match":{"or":[{"starts_with":"claude-sonnet-5"},{"starts_with":"claude-sonnet-5.0"},{"starts_with":"claude-5-sonnet"},{"starts_with":"claude-5.0-sonnet"}]},"context_window":1000000,"prices":[{"prices":{"input_mtok":2,"cache_write_mtok":2.5,"cache_read_mtok":0.2,"output_mtok":10}},{"constraint":{"start_date":"2026-09-01"},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}}]},{"id":"claude-v1","match":{"equals":"claude-v1"},"prices":{"input_mtok":8,"output_mtok":24}}]},{"id":"avian","name":"Avian","pricing_urls":["https://avian.io/pricing/"],"api_pattern":"https://api\\.avian\\.io","models":[{"id":"Meta-Llama-3.1-405B-Instruct","match":{"equals":"Meta-Llama-3.1-405B-Instruct"},"prices":{"input_mtok":1.5,"output_mtok":1.5}},{"id":"Meta-Llama-3.1-70B-Instruct","match":{"equals":"Meta-Llama-3.1-70B-Instruct"},"prices":{"input_mtok":0.45,"output_mtok":0.45}},{"id":"Meta-Llama-3.1-8B-Instruct","match":{"equals":"Meta-Llama-3.1-8B-Instruct"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"Meta-Llama-3.3-70B-Instruct","match":{"equals":"Meta-Llama-3.3-70B-Instruct"},"prices":{"input_mtok":0.45,"output_mtok":0.45}}]},{"id":"aws","name":"AWS Bedrock","pricing_urls":["https://aws.amazon.com/bedrock/pricing/"],"api_pattern":"https://bedrock-runtime\\.[a-z0-9-]+\\.amazonaws\\.com(/|$)","provider_match":{"or":[{"contains":"bedrock"},{"contains":"amazon"}]},"extractors":[{"api_flavor":"default","root":"usage","model_path":"model","mappings":[{"path":"inputTokens","dest":"input_tokens","required":true},{"path":"cacheReadInputTokens","dest":"input_tokens","required":false},{"path":"cacheWriteInputTokens","dest":"input_tokens","required":false},{"path":"cacheReadInputTokens","dest":"cache_read_tokens","required":false},{"path":"cacheWriteInputTokens","dest":"cache_write_tokens","required":false},{"path":"outputTokens","dest":"output_tokens","required":true}]},{"api_flavor":"anthropic","root":"usage","model_path":"model","mappings":[{"path":"input_tokens","dest":"input_tokens","required":true},{"path":"cache_creation_input_tokens","dest":"input_tokens","required":false},{"path":"cache_read_input_tokens","dest":"input_tokens","required":false},{"path":"cache_creation_input_tokens","dest":"cache_write_tokens","required":false},{"path":"cache_read_input_tokens","dest":"cache_read_tokens","required":false},{"path":"output_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"amazon.nova-2-sonic-v1:0","match":{"contains":"amazon.nova-2-sonic"},"prices":{"input_mtok":0.33,"output_mtok":2.75,"input_audio_mtok":3,"output_audio_mtok":12}},{"id":"amazon.nova-lite-v1:0","match":{"contains":"amazon.nova-lite"},"prices":{"input_mtok":0.06,"cache_read_mtok":0.015,"output_mtok":0.24}},{"id":"amazon.nova-micro-v1:0","match":{"contains":"amazon.nova-micro"},"prices":{"input_mtok":0.035,"cache_read_mtok":0.00875,"output_mtok":0.14}},{"id":"amazon.nova-premier-v1:0","match":{"contains":"amazon.nova-premier"},"prices":{"input_mtok":2.5,"cache_read_mtok":0.625,"output_mtok":12.5}},{"id":"amazon.nova-pro-v1:0","match":{"contains":"amazon.nova-pro"},"prices":{"input_mtok":0.8,"cache_read_mtok":0.2,"output_mtok":3.2}},{"id":"amazon.nova-sonic-v1:0","match":{"contains":"amazon.nova-sonic"},"prices":{"input_mtok":0.06,"output_mtok":0.24,"input_audio_mtok":3.4,"output_audio_mtok":13.6}},{"id":"amazon.titan-embed-text-v1","match":{"contains":"amazon.titan-embed-text"},"prices":{"input_mtok":0.1}},{"id":"amazon.titan-text-express-v1","match":{"contains":"titan-text-express"},"prices":{"input_mtok":0.2,"output_mtok":0.6}},{"id":"amazon.titan-text-lite-v1","match":{"contains":"titan-text-lite"},"prices":{"input_mtok":0.15,"output_mtok":0.2}},{"id":"deepseek.r1-v1:0","match":{"contains":"deepseek.r1"},"prices":{"input_mtok":1.35,"output_mtok":5.4}},{"id":"global.amazon.nova-2-lite-v1:0","match":{"contains":"global.amazon.nova-2-lite"},"prices":{"input_mtok":0.3,"cache_read_mtok":0.075,"output_mtok":2.5}},{"id":"global.anthropic.claude-fable-5-v1:0","match":{"contains":"global.anthropic.claude-fable-5"},"prices":{"input_mtok":10,"cache_write_mtok":12.5,"cache_read_mtok":1,"output_mtok":50}},{"id":"global.anthropic.claude-haiku-4-5-20251001-v1:0","match":{"contains":"global.anthropic.claude-haiku-4-5-20251001"},"prices":{"input_mtok":1,"cache_write_mtok":1.25,"cache_read_mtok":0.1,"output_mtok":5}},{"id":"global.anthropic.claude-opus-4-5-v1:0","match":{"contains":"global.anthropic.claude-opus-4-5"},"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"global.anthropic.claude-opus-4-6-v1:0","match":{"contains":"global.anthropic.claude-opus-4-6"},"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"global.anthropic.claude-opus-4-7-v1:0","match":{"contains":"global.anthropic.claude-opus-4-7"},"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"global.anthropic.claude-opus-4-8-v1:0","match":{"contains":"global.anthropic.claude-opus-4-8"},"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"global.anthropic.claude-opus-5","match":{"contains":"global.anthropic.claude-opus-5"},"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"global.anthropic.claude-sonnet-4-20250514-v1:0","match":{"contains":"global.anthropic.claude-sonnet-4-20250514"},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","match":{"contains":"global.anthropic.claude-sonnet-4-5-20250929"},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"global.anthropic.claude-sonnet-4-6-v1:0","match":{"contains":"global.anthropic.claude-sonnet-4-6"},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"global.anthropic.claude-sonnet-5-v1:0","match":{"contains":"global.anthropic.claude-sonnet-5"},"prices":[{"prices":{"input_mtok":2,"cache_write_mtok":2.5,"cache_read_mtok":0.2,"output_mtok":10}},{"constraint":{"start_date":"2026-09-01"},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}}]},{"id":"google.gemma-3-12b-it","match":{"contains":"google.gemma-3-12b-it"},"prices":{"input_mtok":0.09,"output_mtok":0.29}},{"id":"google.gemma-3-27b-it","match":{"contains":"google.gemma-3-27b-it"},"prices":{"input_mtok":0.23,"output_mtok":0.38}},{"id":"google.gemma-3-4b-it","match":{"contains":"google.gemma-3-4b-it"},"prices":{"input_mtok":0.04,"output_mtok":0.08}},{"id":"meta.llama3-1-70b-instruct-v1:0","match":{"contains":"meta.llama3-1-70b-instruct"},"prices":{"input_mtok":0.72,"output_mtok":0.72}},{"id":"meta.llama3-1-8b-instruct-v1:0","match":{"contains":"meta.llama3-1-8b-instruct"},"prices":{"input_mtok":0.22,"output_mtok":0.22}},{"id":"meta.llama3-2-11b-instruct-v1:0","match":{"contains":"meta.llama3-2-11b-instruct"},"prices":{"input_mtok":0.16,"output_mtok":0.16}},{"id":"meta.llama3-2-1b-instruct-v1:0","match":{"contains":"meta.llama3-2-1b-instruct"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"meta.llama3-2-3b-instruct-v1:0","match":{"contains":"meta.llama3-2-3b-instruct"},"prices":{"input_mtok":0.15,"output_mtok":0.15}},{"id":"meta.llama3-2-90b-instruct-v1:0","match":{"contains":"meta.llama3-2-90b-instruct"},"prices":{"input_mtok":0.72,"output_mtok":0.72}},{"id":"meta.llama3-3-70b-instruct-v1:0","match":{"contains":"meta.llama3-3-70b-instruct"},"prices":{"input_mtok":0.72,"output_mtok":0.72}},{"id":"meta.llama3-70b-instruct-v1:0","match":{"contains":"meta.llama3-70b-instruct"},"prices":{"input_mtok":2.65,"output_mtok":3.5}},{"id":"meta.llama3-8b-instruct-v1:0","match":{"contains":"meta.llama3-8b-instruct"},"prices":{"input_mtok":0.3,"output_mtok":0.6}},{"id":"meta.llama4-maverick-17b-instruct-v1:0","match":{"contains":"meta.llama4-maverick-17b-instruct"},"prices":{"input_mtok":0.24,"output_mtok":0.97}},{"id":"meta.llama4-scout-17b-instruct-v1:0","match":{"contains":"meta.llama4-scout-17b-instruct"},"prices":{"input_mtok":0.17,"output_mtok":0.66}},{"id":"mistral.devstral-2-123b","match":{"contains":"mistral.devstral-2-123b"},"prices":{"input_mtok":0.4,"output_mtok":2}},{"id":"mistral.magistral-small-2509","match":{"contains":"mistral.magistral-small-2509"},"prices":{"input_mtok":0.5,"output_mtok":1.5}},{"id":"mistral.ministral-3-14b-instruct","match":{"contains":"mistral.ministral-3-14b-instruct"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"mistral.ministral-3-3b-instruct","match":{"contains":"mistral.ministral-3-3b-instruct"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"mistral.ministral-3-8b-instruct","match":{"contains":"mistral.ministral-3-8b-instruct"},"prices":{"input_mtok":0.15,"output_mtok":0.15}},{"id":"mistral.mistral-7b-instruct-v0:2","match":{"contains":"mistral.mistral-7b-instruct-v0"},"prices":{"input_mtok":0.15,"output_mtok":0.2}},{"id":"mistral.mistral-large-2402-v1:0","match":{"contains":"mistral.mistral-large-2402"},"prices":{"input_mtok":4,"output_mtok":12}},{"id":"mistral.mistral-large-3-675b-instruct","match":{"contains":"mistral.mistral-large-3-675b-instruct"},"prices":{"input_mtok":0.5,"output_mtok":1.5}},{"id":"mistral.mistral-small-2402-v1:0","match":{"contains":"mistral.mistral-small-2402"},"prices":{"input_mtok":1,"output_mtok":3}},{"id":"mistral.mixtral-8x7b-instruct-v0:1","match":{"contains":"mistral.mixtral-8x7b-instruct-v0"},"prices":{"input_mtok":0.45,"output_mtok":0.7}},{"id":"mistral.pixtral-large-2502-v1:0","match":{"contains":"mistral.pixtral-large-2502"},"prices":{"input_mtok":2,"output_mtok":6}},{"id":"mistral.voxtral-mini-3b-2507","match":{"contains":"mistral.voxtral-mini-3b-2507"},"prices":{"input_mtok":0.04,"output_mtok":0.04}},{"id":"mistral.voxtral-small-24b-2507","match":{"contains":"mistral.voxtral-small-24b-2507"},"prices":{"input_mtok":0.1,"output_mtok":0.3}},{"id":"nvidia.nemotron-nano-3-30b:0","match":{"contains":"nvidia.nemotron-nano-3-30b"},"prices":{"input_mtok":0.06,"output_mtok":0.24}},{"id":"nvidia.nemotron-nano-9b-v2:0","match":{"contains":"nvidia.nemotron-nano-9b-v2"},"prices":{"input_mtok":0.06,"output_mtok":0.23}},{"id":"nvidia.nemotron-super-3-120b:0","match":{"contains":"nvidia.nemotron-super-3-120b"},"prices":{"input_mtok":0.15,"output_mtok":0.65}},{"id":"openai.gpt-5.4","match":{"equals":"openai.gpt-5.4"},"prices":{"input_mtok":2.75,"cache_read_mtok":0.275,"output_mtok":16.5}},{"id":"openai.gpt-5.5","match":{"equals":"openai.gpt-5.5"},"prices":{"input_mtok":5.5,"cache_read_mtok":0.55,"output_mtok":33}},{"id":"openai.gpt-oss-120b-1:0","match":{"contains":"openai.gpt-oss-120b-1"},"prices":{"input_mtok":0.15,"output_mtok":0.6}},{"id":"openai.gpt-oss-20b-1:0","match":{"contains":"openai.gpt-oss-20b-1"},"prices":{"input_mtok":0.07,"output_mtok":0.3}},{"id":"qwen.qwen3-32b-v1:0","match":{"contains":"qwen.qwen3-32b"},"prices":{"input_mtok":0.15,"output_mtok":0.6}},{"id":"qwen.qwen3-coder-30b-a3b-v1:0","match":{"contains":"qwen.qwen3-coder-30b-a3b"},"prices":{"input_mtok":0.15,"output_mtok":0.6}},{"id":"qwen.qwen3-coder-480b-a35b-v1:0","match":{"contains":"qwen.qwen3-coder-480b-a35b"},"prices":{"input_mtok":0.45,"output_mtok":1.8}},{"id":"qwen.qwen3-vl-235b-a22b-v1:0","match":{"contains":"qwen.qwen3-vl-235b-a22b"},"prices":{"input_mtok":0.53,"output_mtok":2.66}},{"id":"regional.amazon.nova-2-lite-v1:0","match":{"or":[{"contains":"us.amazon.nova-2-lite"},{"contains":"eu.amazon.nova-2-lite"},{"contains":"jp.amazon.nova-2-lite"}]},"prices":{"input_mtok":0.33,"cache_read_mtok":0.0825,"output_mtok":2.75}},{"id":"regional.anthropic.claude-3-5-haiku-20241022-v1:0","match":{"contains":"claude-3-5-haiku-20241022"},"prices":{"input_mtok":0.8,"cache_write_mtok":1,"cache_read_mtok":0.08,"output_mtok":4}},{"id":"regional.anthropic.claude-3-5-sonnet-20240620-v1:0","match":{"contains":"claude-3-5-sonnet-20240620"},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"regional.anthropic.claude-3-5-sonnet-20241022-v2:0","match":{"contains":"claude-3-5-sonnet-20241022"},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"regional.anthropic.claude-3-7-sonnet-20250219-v1:0","match":{"contains":"claude-3-7-sonnet-20250219"},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"regional.anthropic.claude-3-haiku-20240307-v1:0","match":{"contains":"claude-3-haiku-20240307"},"prices":{"input_mtok":0.25,"output_mtok":1.25}},{"id":"regional.anthropic.claude-3-opus-20240229-v1:0","match":{"contains":"claude-3-opus-20240229"},"prices":{"input_mtok":15,"output_mtok":75}},{"id":"regional.anthropic.claude-3-sonnet-20240229-v1:0","match":{"contains":"claude-3-sonnet-20240229"},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"regional.anthropic.claude-fable-5-v1:0","match":{"or":[{"starts_with":"anthropic.claude-fable-5"},{"starts_with":"claude-fable-5"},{"contains":"us.anthropic.claude-fable-5"},{"contains":"au.anthropic.claude-fable-5"},{"contains":"eu.anthropic.claude-fable-5"},{"contains":"jp.anthropic.claude-fable-5"}]},"prices":{"input_mtok":11,"cache_write_mtok":13.75,"cache_read_mtok":1.1,"output_mtok":55}},{"id":"regional.anthropic.claude-haiku-4-5-20251001-v1:0","match":{"or":[{"starts_with":"anthropic.claude-haiku-4-5-20251001"},{"starts_with":"claude-haiku-4-5-20251001"},{"contains":"us.anthropic.claude-haiku-4-5-20251001"},{"contains":"au.anthropic.claude-haiku-4-5-20251001"},{"contains":"apac.anthropic.claude-haiku-4-5-20251001"},{"contains":"eu.anthropic.claude-haiku-4-5-20251001"},{"contains":"us-gov.anthropic.claude-haiku-4-5-20251001"},{"contains":"jp.anthropic.claude-haiku-4-5-20251001"}]},"prices":{"input_mtok":1.1,"cache_write_mtok":1.375,"cache_read_mtok":0.11,"output_mtok":5.5}},{"id":"regional.anthropic.claude-opus-4-1-20250805-v1:0","match":{"or":[{"starts_with":"anthropic.claude-opus-4-1-20250805"},{"starts_with":"claude-opus-4-1-20250805"},{"contains":"us.anthropic.claude-opus-4-1-20250805"},{"contains":"au.anthropic.claude-opus-4-1-20250805"},{"contains":"apac.anthropic.claude-opus-4-1-20250805"},{"contains":"eu.anthropic.claude-opus-4-1-20250805"},{"contains":"us-gov.anthropic.claude-opus-4-1-20250805"},{"contains":"jp.anthropic.claude-opus-4-1-20250805"}]},"prices":{"input_mtok":15,"cache_write_mtok":18.75,"cache_read_mtok":1.5,"output_mtok":75}},{"id":"regional.anthropic.claude-opus-4-20250514-v1:0","match":{"or":[{"starts_with":"anthropic.claude-opus-4-20250514"},{"starts_with":"claude-opus-4-20250514"},{"contains":"us.anthropic.claude-opus-4-20250514"},{"contains":"au.anthropic.claude-opus-4-20250514"},{"contains":"apac.anthropic.claude-opus-4-20250514"},{"contains":"eu.anthropic.claude-opus-4-20250514"},{"contains":"us-gov.anthropic.claude-opus-4-20250514"},{"contains":"jp.anthropic.claude-opus-4-20250514"}]},"prices":{"input_mtok":15,"cache_write_mtok":18.75,"cache_read_mtok":1.5,"output_mtok":75}},{"id":"regional.anthropic.claude-opus-4-5-v1:0","match":{"or":[{"starts_with":"anthropic.claude-opus-4-5"},{"starts_with":"claude-opus-4-5"},{"contains":"us.anthropic.claude-opus-4-5"},{"contains":"au.anthropic.claude-opus-4-5"},{"contains":"apac.anthropic.claude-opus-4-5"},{"contains":"eu.anthropic.claude-opus-4-5"},{"contains":"us-gov.anthropic.claude-opus-4-5"},{"contains":"jp.anthropic.claude-opus-4-5"}]},"prices":{"input_mtok":5.5,"cache_write_mtok":6.875,"cache_read_mtok":0.55,"output_mtok":27.5}},{"id":"regional.anthropic.claude-opus-4-6-v1:0","match":{"or":[{"starts_with":"anthropic.claude-opus-4-6"},{"starts_with":"claude-opus-4-6"},{"contains":"us.anthropic.claude-opus-4-6"},{"contains":"au.anthropic.claude-opus-4-6"},{"contains":"apac.anthropic.claude-opus-4-6"},{"contains":"eu.anthropic.claude-opus-4-6"},{"contains":"us-gov.anthropic.claude-opus-4-6"},{"contains":"jp.anthropic.claude-opus-4-6"}]},"prices":{"input_mtok":5.5,"cache_write_mtok":6.875,"cache_read_mtok":0.55,"output_mtok":27.5}},{"id":"regional.anthropic.claude-opus-4-7-v1:0","match":{"or":[{"starts_with":"anthropic.claude-opus-4-7"},{"starts_with":"claude-opus-4-7"},{"contains":"us.anthropic.claude-opus-4-7"},{"contains":"au.anthropic.claude-opus-4-7"},{"contains":"apac.anthropic.claude-opus-4-7"},{"contains":"eu.anthropic.claude-opus-4-7"},{"contains":"us-gov.anthropic.claude-opus-4-7"},{"contains":"jp.anthropic.claude-opus-4-7"}]},"prices":{"input_mtok":5.5,"cache_write_mtok":6.875,"cache_read_mtok":0.55,"output_mtok":27.5}},{"id":"regional.anthropic.claude-opus-4-8-v1:0","match":{"or":[{"starts_with":"anthropic.claude-opus-4-8"},{"starts_with":"claude-opus-4-8"},{"contains":"us.anthropic.claude-opus-4-8"},{"contains":"au.anthropic.claude-opus-4-8"},{"contains":"eu.anthropic.claude-opus-4-8"},{"contains":"jp.anthropic.claude-opus-4-8"}]},"prices":{"input_mtok":5.5,"cache_write_mtok":6.875,"cache_read_mtok":0.55,"output_mtok":27.5}},{"id":"regional.anthropic.claude-opus-5","match":{"or":[{"starts_with":"anthropic.claude-opus-5"},{"starts_with":"claude-opus-5"},{"contains":"us.anthropic.claude-opus-5"},{"contains":"au.anthropic.claude-opus-5"},{"contains":"eu.anthropic.claude-opus-5"},{"contains":"jp.anthropic.claude-opus-5"}]},"prices":{"input_mtok":5.5,"cache_write_mtok":6.875,"cache_read_mtok":0.55,"output_mtok":27.5}},{"id":"regional.anthropic.claude-sonnet-4-20250514-v1:0","match":{"or":[{"starts_with":"anthropic.claude-sonnet-4-20250514"},{"starts_with":"claude-sonnet-4-20250514"},{"contains":"us.anthropic.claude-sonnet-4-20250514"},{"contains":"au.anthropic.claude-sonnet-4-20250514"},{"contains":"apac.anthropic.claude-sonnet-4-20250514"},{"contains":"eu.anthropic.claude-sonnet-4-20250514"},{"contains":"us-gov.anthropic.claude-sonnet-4-20250514"},{"contains":"jp.anthropic.claude-sonnet-4-20250514"}]},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"regional.anthropic.claude-sonnet-4-5-20250929-v1:0","match":{"or":[{"starts_with":"anthropic.claude-sonnet-4-5-20250929"},{"starts_with":"claude-sonnet-4-5-20250929"},{"contains":"us.anthropic.claude-sonnet-4-5-20250929"},{"contains":"au.anthropic.claude-sonnet-4-5-20250929"},{"contains":"apac.anthropic.claude-sonnet-4-5-20250929"},{"contains":"eu.anthropic.claude-sonnet-4-5-20250929"},{"contains":"us-gov.anthropic.claude-sonnet-4-5-20250929"},{"contains":"jp.anthropic.claude-sonnet-4-5-20250929"}]},"prices":{"input_mtok":3.3,"cache_write_mtok":4.125,"cache_read_mtok":0.33,"output_mtok":16.5}},{"id":"regional.anthropic.claude-sonnet-4-6-v1:0","match":{"or":[{"starts_with":"anthropic.claude-sonnet-4-6"},{"starts_with":"claude-sonnet-4-6"},{"contains":"us.anthropic.claude-sonnet-4-6"},{"contains":"au.anthropic.claude-sonnet-4-6"},{"contains":"apac.anthropic.claude-sonnet-4-6"},{"contains":"eu.anthropic.claude-sonnet-4-6"},{"contains":"us-gov.anthropic.claude-sonnet-4-6"},{"contains":"jp.anthropic.claude-sonnet-4-6"}]},"prices":{"input_mtok":3.3,"cache_write_mtok":4.125,"cache_read_mtok":0.33,"output_mtok":16.5}},{"id":"regional.anthropic.claude-sonnet-5-v1:0","match":{"or":[{"starts_with":"anthropic.claude-sonnet-5"},{"starts_with":"claude-sonnet-5"},{"contains":"us.anthropic.claude-sonnet-5"},{"contains":"au.anthropic.claude-sonnet-5"},{"contains":"apac.anthropic.claude-sonnet-5"},{"contains":"eu.anthropic.claude-sonnet-5"},{"contains":"us-gov.anthropic.claude-sonnet-5"},{"contains":"jp.anthropic.claude-sonnet-5"}]},"prices":[{"prices":{"input_mtok":2.2,"cache_write_mtok":2.75,"cache_read_mtok":0.22,"output_mtok":11}},{"constraint":{"start_date":"2026-09-01"},"prices":{"input_mtok":3.3,"cache_write_mtok":4.125,"cache_read_mtok":0.33,"output_mtok":16.5}}]}]},{"id":"azure","name":"Microsoft Azure","pricing_urls":["https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/#pricing"],"api_pattern":"(https?://)?([^.]*\\.)?(?:openai\\.azure\\.com|azure-api\\.net|cognitiveservices\\.azure\\.com)","extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]},{"api_flavor":"responses","root":"usage","model_path":"model","mappings":[{"path":"input_tokens","dest":"input_tokens","required":true},{"path":["input_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":"output_tokens","dest":"output_tokens","required":true}]},{"api_flavor":"embeddings","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true}]},{"api_flavor":"anthropic","root":"usage","model_path":"model","mappings":[{"path":"input_tokens","dest":"input_tokens","required":true},{"path":"cache_creation_input_tokens","dest":"input_tokens","required":false},{"path":"cache_read_input_tokens","dest":"input_tokens","required":false},{"path":"cache_creation_input_tokens","dest":"cache_write_tokens","required":false},{"path":"cache_read_input_tokens","dest":"cache_read_tokens","required":false},{"path":"output_tokens","dest":"output_tokens","required":true}]}],"fallback_model_providers":["openai","anthropic"],"models":[{"id":"ada","match":{"or":[{"equals":"ada"},{"equals":"text-embedding-ada"},{"equals":"text-embedding-ada-002"},{"equals":"text-embedding-ada-002-v2"}]},"prices":{"input_mtok":0.1}},{"id":"babbage","match":{"or":[{"equals":"babbage"},{"equals":"babbage-002"}]},"prices":{"input_mtok":0.4}},{"id":"curie","match":{"or":[{"equals":"curie"},{"equals":"text-curie"},{"equals":"text-curie-001"}]},"prices":{"input_mtok":2}},{"id":"davinci","match":{"or":[{"equals":"davinci"},{"equals":"davinci-002"},{"equals":"text-davinci"},{"equals":"text-davinci-002"}]},"prices":{"input_mtok":2}},{"id":"o1","match":{"or":[{"equals":"o1"},{"equals":"o1-2024-12-17"},{"equals":"o1-preview"},{"equals":"o1-preview-2024-09-12"}]},"prices":{"input_mtok":15,"cache_read_mtok":7.5,"output_mtok":60}},{"id":"o1-mini","match":{"or":[{"equals":"o1-mini"},{"equals":"o1-mini-2024-09-12"}]},"prices":{"input_mtok":1.1,"cache_read_mtok":0.55,"output_mtok":4.4}},{"id":"o3-2025-04-16","match":{"or":[{"equals":"o3"},{"equals":"o3-2025-04-16"}]},"prices":{"input_mtok":2,"cache_read_mtok":0.5,"output_mtok":8}},{"id":"o3-mini","match":{"or":[{"equals":"o3-mini"},{"equals":"o3-mini-2025-01-31"}]},"prices":{"input_mtok":1.1,"cache_read_mtok":0.55,"output_mtok":4.4}},{"id":"o4-mini","match":{"or":[{"contains":"o4-mini"},{"contains":"o4-mini-2025-04-16"}]},"prices":{"input_mtok":1.1,"cache_read_mtok":0.28,"output_mtok":4.4}},{"id":"phi-3-medium-128k-instruct","match":{"equals":"phi-3-medium-128k-instruct"},"prices":{"input_mtok":1,"output_mtok":1}},{"id":"phi-3-mini-128k-instruct","match":{"equals":"phi-3-mini-128k-instruct"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"phi-3.5-mini-128k-instruct","match":{"equals":"phi-3.5-mini-128k-instruct"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"phi-4","match":{"equals":"phi-4"},"prices":{"input_mtok":0.07,"output_mtok":0.14}},{"id":"phi-4-mini-instruct","match":{"equals":"phi-4-mini-instruct"},"prices":{"input_mtok":0.08,"cache_read_mtok":0.08,"output_mtok":0.35}},{"id":"phi-4-multimodal-instruct","match":{"equals":"phi-4-multimodal-instruct"},"prices":{"input_mtok":0.05,"output_mtok":0.1}},{"id":"phi-4-reasoning-plus","match":{"equals":"phi-4-reasoning-plus"},"prices":{"input_mtok":0.07,"output_mtok":0.35}},{"id":"text-embedding-3-large","match":{"equals":"text-embedding-3-large"},"prices":{"input_mtok":0.13}},{"id":"text-embedding-3-small","match":{"equals":"text-embedding-3-small"},"prices":{"input_mtok":0.02}},{"id":"wizardlm-2-8x22b","match":{"equals":"wizardlm-2-8x22b"},"prices":{"input_mtok":0.48,"output_mtok":0.48}}]},{"id":"cerebras","name":"Cerebras","pricing_urls":["https://www.cerebras.ai/pricing#pricing","https://inference-docs.cerebras.ai/models/openai-oss"],"api_pattern":"https://api\\.cerebras\\.ai","model_match":{"contains":"cerebras"},"provider_match":{"contains":"cerebras"},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"gpt-oss-120b","match":{"or":[{"equals":"gpt-oss-120b"},{"starts_with":"cerebras/gpt-oss-120b"},{"starts_with":"cerebras:gpt-oss-120b"}]},"context_window":131072,"prices":{"input_mtok":0.35,"output_mtok":0.75}},{"id":"llama-3.3-70b","match":{"or":[{"equals":"llama-3.3-70b"},{"starts_with":"cerebras/llama-3.3-70b"},{"starts_with":"cerebras:llama-3.3-70b"}]},"context_window":128000,"prices":{"input_mtok":0.85,"output_mtok":1.2}},{"id":"llama3.1-8b","match":{"or":[{"equals":"llama3.1-8b"},{"starts_with":"cerebras/llama3.1-8b"},{"starts_with":"cerebras:llama3.1-8b"}]},"context_window":32768,"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"qwen-3-32b","match":{"or":[{"equals":"qwen-3-32b"},{"starts_with":"cerebras/qwen-3-32b"},{"starts_with":"cerebras:qwen-3-32b"}]},"context_window":131072,"prices":{"input_mtok":0.4,"output_mtok":0.8}}]},{"id":"cohere","name":"Cohere","pricing_urls":["https://cohere.com/pricing"],"api_pattern":"https://api\\.cohere\\.(?:ai|com)","model_match":{"starts_with":"command-"},"provider_match":{"contains":"cohere"},"extractors":[{"api_flavor":"default","root":["usage","billed_units"],"model_path":"model","mappings":[{"path":"input_tokens","dest":"input_tokens","required":true},{"path":"output_tokens","dest":"output_tokens","required":true}]},{"api_flavor":"tokens","root":"usage","model_path":"model","mappings":[{"path":["tokens","input_tokens"],"dest":"input_tokens","required":false},{"path":["tokens","output_tokens"],"dest":"output_tokens","required":false},{"path":"cached_tokens","dest":"cache_read_tokens","required":false}]},{"api_flavor":"embeddings","root":["meta","billed_units"],"model_path":"model","mappings":[{"path":"input_tokens","dest":"input_tokens","required":true}]}],"models":[{"id":"command","match":{"equals":"command"},"prices":{"input_mtok":1,"output_mtok":2}},{"id":"command-a","match":{"starts_with":"command-a"},"prices":{"input_mtok":2.5,"output_mtok":10}},{"id":"command-r","match":{"or":[{"equals":"command-r"},{"equals":"command-r-08-2024"}]},"prices":{"input_mtok":0.15,"output_mtok":0.6}},{"id":"command-r-plus","match":{"or":[{"equals":"command-r-plus"},{"equals":"command-r-plus-08-2024"}]},"prices":{"input_mtok":2.5,"output_mtok":10}},{"id":"command-r7b","match":{"or":[{"equals":"command-r7b"},{"equals":"command-r7b-12-2024"}]},"prices":{"input_mtok":0.0375,"output_mtok":0.15}},{"id":"embed-v4.0","match":{"equals":"embed-v4.0"},"context_window":128000,"prices":{"input_mtok":0.12}}]},{"id":"deepseek","name":"Deepseek","pricing_urls":["https://api-docs.deepseek.com/quick_start/pricing"],"api_pattern":"https://api\\.deepseek\\.com","model_match":{"contains":"deepseek"},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"deepseek-chat","match":{"or":[{"starts_with":"deepseek-chat"},{"equals":"deepseek-chat-v3-0324"}]},"context_window":64000,"prices":[{"prices":{"input_mtok":0.135,"cache_read_mtok":0.035,"output_mtok":0.55}},{"constraint":{"start_time":"00:30:00Z","end_time":"16:30:00Z"},"prices":{"input_mtok":0.27,"cache_read_mtok":0.07,"output_mtok":1.1}}]},{"id":"deepseek-reasoner","match":{"or":[{"equals":"deepseek-reasoner"},{"starts_with":"deepseek-r1"},{"equals":"deepseek-r1-0528"}]},"context_window":64000,"prices":[{"prices":{"input_mtok":0.135,"cache_read_mtok":0.035,"output_mtok":0.55}},{"constraint":{"start_time":"00:30:00Z","end_time":"16:30:00Z"},"prices":{"input_mtok":0.55,"cache_read_mtok":0.14,"output_mtok":2.19}}]},{"id":"deepseek-v3.1-terminus","match":{"equals":"deepseek-v3.1-terminus"},"prices":{"input_mtok":0.27,"cache_read_mtok":0.13,"output_mtok":0.95}},{"id":"deepseek-v3.2","match":{"equals":"deepseek-v3.2"},"prices":{"input_mtok":0.2288,"output_mtok":0.3432}},{"id":"deepseek-v3.2-exp","match":{"equals":"deepseek-v3.2-exp"},"prices":{"input_mtok":0.27,"output_mtok":0.41}},{"id":"deepseek-v4-flash","match":{"or":[{"starts_with":"deepseek-v4-flash"}]},"context_window":1000000,"prices":{"input_mtok":0.14,"cache_read_mtok":0.0028,"output_mtok":0.28}},{"id":"deepseek-v4-pro","match":{"or":[{"starts_with":"deepseek-v4-pro"}]},"context_window":1000000,"prices":{"input_mtok":0.435,"cache_read_mtok":0.003625,"output_mtok":0.87}}]},{"id":"doubleword","name":"Doubleword","pricing_urls":["https://docs.doubleword.ai/inference-api/models"],"api_pattern":"https://api\\.doubleword\\.ai","extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","cache_write_tokens"],"dest":"cache_write_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]},{"api_flavor":"responses","root":"usage","model_path":"model","mappings":[{"path":"input_tokens","dest":"input_tokens","required":true},{"path":["input_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":"output_tokens","dest":"output_tokens","required":true}]},{"api_flavor":"embeddings","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true}]}],"models":[{"id":"Qwen/Qwen3-14B-FP8","match":{"equals":"Qwen/Qwen3-14B-FP8"},"prices":{"input_mtok":0.05,"output_mtok":0.6}},{"id":"Qwen/Qwen3-Embedding-8B","match":{"equals":"Qwen/Qwen3-Embedding-8B"},"prices":{"input_mtok":0.04}},{"id":"Qwen/Qwen3-VL-235B-A22B-Instruct-FP8","match":{"equals":"Qwen/Qwen3-VL-235B-A22B-Instruct-FP8"},"prices":{"input_mtok":0.6,"output_mtok":1.2}},{"id":"Qwen/Qwen3-VL-30B-A3B-Instruct-FP8","match":{"equals":"Qwen/Qwen3-VL-30B-A3B-Instruct-FP8"},"prices":{"input_mtok":0.16,"output_mtok":0.8}},{"id":"Qwen/Qwen3.5-35B-A3B-FP8","match":{"equals":"Qwen/Qwen3.5-35B-A3B-FP8"},"prices":{"input_mtok":0.25,"output_mtok":2}},{"id":"Qwen/Qwen3.5-397B-A17B","match":{"equals":"Qwen/Qwen3.5-397B-A17B"},"prices":{"input_mtok":0.6,"output_mtok":3.6}},{"id":"Qwen/Qwen3.5-9B","match":{"equals":"Qwen/Qwen3.5-9B"},"prices":{"input_mtok":0.08,"output_mtok":0.7}},{"id":"Qwen/Qwen3.6-35B-A3B-FP8","match":{"equals":"Qwen/Qwen3.6-35B-A3B-FP8"},"prices":{"input_mtok":0.25,"output_mtok":2}},{"id":"deepseek-ai/DeepSeek-V4-Flash","match":{"equals":"deepseek-ai/DeepSeek-V4-Flash"},"prices":{"input_mtok":0.14,"output_mtok":0.28}},{"id":"deepseek-ai/DeepSeek-V4-Pro","match":{"equals":"deepseek-ai/DeepSeek-V4-Pro"},"prices":{"input_mtok":1.74,"output_mtok":3.48}},{"id":"google/gemma-4-31B-it","match":{"equals":"google/gemma-4-31B-it"},"prices":{"input_mtok":0.14,"output_mtok":0.4}},{"id":"mistralai/Devstral-2-123B-Instruct-2512","match":{"equals":"mistralai/Devstral-2-123B-Instruct-2512"},"prices":{"input_mtok":0.4,"output_mtok":2}},{"id":"moonshotai/Kimi-K2.6","match":{"equals":"moonshotai/Kimi-K2.6"},"prices":{"input_mtok":0.95,"output_mtok":4}},{"id":"nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4","match":{"equals":"nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4"},"prices":{"input_mtok":0.3,"output_mtok":0.75}},{"id":"openai/gpt-oss-20b","match":{"equals":"openai/gpt-oss-20b"},"prices":{"input_mtok":0.04,"output_mtok":0.3}},{"id":"zai-org/GLM-5.1-FP8","match":{"equals":"zai-org/GLM-5.1-FP8"},"prices":{"input_mtok":1.4,"output_mtok":4.4}}]},{"id":"fireworks","name":"Fireworks","pricing_urls":["https://fireworks.ai/pricing"],"api_pattern":"https://api\\.fireworks\\.ai","model_match":{"starts_with":"accounts/fireworks/models/"},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"deepseek-r1-0528","match":{"equals":"accounts/fireworks/models/deepseek-r1-0528"},"context_window":160000,"prices":{"input_mtok":3,"output_mtok":8}},{"id":"deepseek-v3-0324","match":{"equals":"accounts/fireworks/models/deepseek-v3-0324"},"context_window":160000,"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"deepseek-v3p2","match":{"equals":"accounts/fireworks/models/deepseek-v3p2"},"context_window":163840,"prices":{"input_mtok":0.56,"cache_read_mtok":0.28,"output_mtok":1.68}},{"id":"deepseek-v4-flash","match":{"equals":"accounts/fireworks/models/deepseek-v4-flash"},"prices":{"input_mtok":0.14,"cache_read_mtok":0.028,"output_mtok":0.28}},{"id":"deepseek-v4-pro","match":{"equals":"accounts/fireworks/models/deepseek-v4-pro"},"prices":{"input_mtok":1.74,"cache_read_mtok":0.145,"output_mtok":3.48}},{"id":"gemma-3-27b-it","match":{"equals":"accounts/fireworks/models/gemma-3-27b-it"},"context_window":131000,"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"glm-4p7","match":{"equals":"accounts/fireworks/models/glm-4p7"},"context_window":202752,"prices":{"input_mtok":0.6,"output_mtok":2.2}},{"id":"glm-5p1","match":{"equals":"accounts/fireworks/models/glm-5p1"},"prices":{"input_mtok":1.4,"cache_read_mtok":0.26,"output_mtok":4.4}},{"id":"glm-5p2","match":{"equals":"accounts/fireworks/models/glm-5p2"},"context_window":1040000,"prices":{"input_mtok":1.4,"cache_read_mtok":0.14,"output_mtok":4.4}},{"id":"gpt-oss-120b","match":{"equals":"accounts/fireworks/models/gpt-oss-120b"},"context_window":131072,"prices":{"input_mtok":0.15,"cache_read_mtok":0.07,"output_mtok":0.6}},{"id":"gpt-oss-20b","match":{"equals":"accounts/fireworks/models/gpt-oss-20b"},"context_window":131072,"prices":{"input_mtok":0.07,"cache_read_mtok":0.04,"output_mtok":0.3}},{"id":"kimi-k2p5","match":{"equals":"accounts/fireworks/models/kimi-k2p5"},"context_window":262144,"prices":{"input_mtok":0.6,"cache_read_mtok":0.1,"output_mtok":3}},{"id":"kimi-k2p6","match":{"equals":"accounts/fireworks/models/kimi-k2p6"},"prices":{"input_mtok":0.95,"cache_read_mtok":0.16,"output_mtok":4}},{"id":"kimi-k2p7-code","match":{"equals":"accounts/fireworks/models/kimi-k2p7-code"},"context_window":262144,"prices":{"input_mtok":0.95,"cache_read_mtok":0.19,"output_mtok":4}},{"id":"llama-v3p1-8b-instruct","match":{"equals":"accounts/fireworks/models/llama-v3p1-8b-instruct"},"context_window":131000,"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"llama4-maverick-instruct-basic","match":{"equals":"accounts/fireworks/models/llama4-maverick-instruct-basic"},"context_window":1000000,"prices":{"input_mtok":0.22,"output_mtok":0.88}},{"id":"minimax-m2p1","match":{"equals":"accounts/fireworks/models/minimax-m2p1"},"context_window":204800,"prices":{"input_mtok":0.3,"output_mtok":1.2}},{"id":"minimax-m2p7","match":{"equals":"accounts/fireworks/models/minimax-m2p7"},"prices":{"input_mtok":0.3,"cache_read_mtok":0.06,"output_mtok":1.2}},{"id":"minimax-m3","match":{"equals":"accounts/fireworks/models/minimax-m3"},"context_window":524288,"prices":{"input_mtok":0.3,"cache_read_mtok":0.06,"output_mtok":1.2}},{"id":"nemotron-3-ultra-nvfp4","match":{"equals":"accounts/fireworks/models/nemotron-3-ultra-nvfp4"},"context_window":262000,"prices":{"input_mtok":0.6,"cache_read_mtok":0.12,"output_mtok":2.4}},{"id":"qwen2p5-vl-72b-instruct","match":{"equals":"accounts/fireworks/models/qwen2p5-vl-72b-instruct"},"context_window":128000,"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"qwen3-235b-a22b","match":{"equals":"accounts/fireworks/models/qwen3-235b-a22b"},"context_window":128000,"prices":{"input_mtok":0.22,"output_mtok":0.88}},{"id":"qwen3p6-plus","match":{"equals":"accounts/fireworks/models/qwen3p6-plus"},"prices":{"input_mtok":0.5,"cache_read_mtok":0.1,"output_mtok":3}},{"id":"qwen3p7-plus","match":{"equals":"accounts/fireworks/models/qwen3p7-plus"},"context_window":262144,"prices":{"input_mtok":0.4,"cache_read_mtok":0.08,"output_mtok":1.6}}]},{"id":"google","name":"Google","pricing_urls":["https://ai.google.dev/gemini-api/docs/pricing","https://cloud.google.com/vertex-ai/generative-ai/pricing"],"api_pattern":"https://(.*\\.)?googleapis\\.com","model_match":{"contains":"gemini"},"provider_match":{"or":[{"contains":"google"},{"contains":"vertex"},{"contains":"gemini"}]},"extractors":[{"api_flavor":"default","root":"usageMetadata","model_path":"modelVersion","mappings":[{"path":"promptTokenCount","dest":"input_tokens","required":false},{"path":"cachedContentTokenCount","dest":"cache_read_tokens","required":false},{"path":["cacheTokensDetails",{"type":"array-match","field":"modality","match":{"equals":"AUDIO"}},"tokenCount"],"dest":"cache_audio_read_tokens","required":false},{"path":["promptTokensDetails",{"type":"array-match","field":"modality","match":{"equals":"AUDIO"}},"tokenCount"],"dest":"input_audio_tokens","required":false},{"path":["candidatesTokensDetails",{"type":"array-match","field":"modality","match":{"equals":"AUDIO"}},"tokenCount"],"dest":"output_audio_tokens","required":false},{"path":"candidatesTokenCount","dest":"output_tokens","required":false},{"path":"thoughtsTokenCount","dest":"output_tokens","required":false},{"path":"toolUsePromptTokenCount","dest":"input_tokens","required":false},{"path":["toolUsePromptTokensDetails",{"type":"array-match","field":"modality","match":{"equals":"AUDIO"}},"tokenCount"],"dest":"input_audio_tokens","required":false}]},{"api_flavor":"anthropic","root":"usage","model_path":"model","mappings":[{"path":"input_tokens","dest":"input_tokens","required":true},{"path":"cache_creation_input_tokens","dest":"input_tokens","required":false},{"path":"cache_read_input_tokens","dest":"input_tokens","required":false},{"path":"cache_creation_input_tokens","dest":"cache_write_tokens","required":false},{"path":"cache_read_input_tokens","dest":"cache_read_tokens","required":false},{"path":"output_tokens","dest":"output_tokens","required":true}]},{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"fallback_model_providers":["anthropic"],"models":[{"id":"claude-3-5-haiku","match":{"contains":"claude-3-5-haiku"},"context_window":200000,"prices":{"input_mtok":0.8,"cache_write_mtok":1,"cache_read_mtok":0.08,"output_mtok":4}},{"id":"claude-3-5-sonnet","match":{"contains":"claude-3-5-sonnet"},"context_window":200000,"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"claude-3-7-sonnet","match":{"contains":"claude-3-7-sonnet"},"context_window":200000,"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"claude-3-haiku","match":{"contains":"claude-3-haiku"},"context_window":200000,"prices":{"input_mtok":0.25,"cache_write_mtok":0.3,"cache_read_mtok":0.03,"output_mtok":1.25}},{"id":"claude-3-opus","match":{"contains":"claude-3-opus"},"prices":{"input_mtok":15,"cache_write_mtok":18.75,"cache_read_mtok":1.5,"output_mtok":75}},{"id":"claude-4-opus","match":{"or":[{"contains":"claude-4-opus"},{"contains":"claude-opus-4@"},{"contains":"claude-opus-4-0"},{"contains":"claude-opus-4-1"},{"equals":"claude-opus-4"}]},"context_window":200000,"prices":{"input_mtok":15,"cache_write_mtok":18.75,"cache_read_mtok":1.5,"output_mtok":75}},{"id":"claude-4-sonnet","match":{"or":[{"contains":"claude-4-sonnet"},{"contains":"claude-sonnet-4"}]},"context_window":200000,"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"claude-fable-5","match":{"contains":"claude-fable-5"},"context_window":1000000,"prices":{"input_mtok":10,"cache_write_mtok":12.5,"cache_read_mtok":1,"output_mtok":50}},{"id":"claude-opus-4-6","match":{"or":[{"contains":"claude-4-6-opus"},{"contains":"claude-opus-4-6"},{"contains":"claude-4.6-opus"},{"contains":"claude-opus-4.6"}]},"context_window":200000,"prices":{"input_mtok":{"base":5,"tiers":[{"start":200000,"price":10}]},"cache_write_mtok":{"base":6.25,"tiers":[{"start":200000,"price":12.5}]},"cache_read_mtok":{"base":0.5,"tiers":[{"start":200000,"price":1}]},"output_mtok":{"base":25,"tiers":[{"start":200000,"price":37.5}]}}},{"id":"claude-opus-4-7","match":{"or":[{"contains":"claude-4-7-opus"},{"contains":"claude-opus-4-7"},{"contains":"claude-4.7-opus"},{"contains":"claude-opus-4.7"}]},"context_window":1000000,"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"claude-opus-4-8","match":{"or":[{"contains":"claude-4-8-opus"},{"contains":"claude-opus-4-8"},{"contains":"claude-4.8-opus"},{"contains":"claude-opus-4.8"}]},"context_window":1000000,"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"claude-opus-5","match":{"or":[{"contains":"claude-5-opus"},{"contains":"claude-opus-5"},{"contains":"claude-5.0-opus"},{"contains":"claude-opus-5.0"}]},"context_window":1000000,"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"gemini-1.0-pro-vision-001","match":{"equals":"gemini-1.0-pro-vision-001"},"context_window":32768,"prices":{"input_mtok":0.125,"output_mtok":0.375}},{"id":"gemini-1.5-flash","match":{"contains":"gemini-1.5-flash"},"context_window":1000000,"prices":{"input_mtok":{"base":0.075,"tiers":[{"start":128000,"price":0.15}]},"cache_read_mtok":{"base":0.01875,"tiers":[{"start":128000,"price":0.0375}]},"output_mtok":{"base":0.3,"tiers":[{"start":128000,"price":0.6}]}}},{"id":"gemini-1.5-pro","match":{"contains":"gemini-1.5-pro"},"context_window":1000000,"prices":{"input_mtok":{"base":1.25,"tiers":[{"start":128000,"price":2.5}]},"output_mtok":{"base":5,"tiers":[{"start":128000,"price":10}]}}},{"id":"gemini-2.0-flash","match":{"or":[{"ends_with":"gemini-2.0-flash"},{"contains":"gemini-2.0-flash-0"},{"contains":"gemini-2.0-flash-exp"},{"contains":"gemini-2.0-flash-thinking"},{"contains":"gemini-2.0-flash-latest"}]},"context_window":1000000,"prices":{"input_mtok":0.1,"cache_read_mtok":0.025,"output_mtok":0.4,"input_audio_mtok":0.7,"cache_audio_read_mtok":0.175}},{"id":"gemini-2.0-flash-lite","match":{"contains":"gemini-2.0-flash-lite"},"context_window":1000000,"prices":{"input_mtok":0.075,"output_mtok":0.3}},{"id":"gemini-2.5-flash","match":{"or":[{"equals":"gemini-2.5-flash"},{"equals":"gemini-2.5-flash-latest"},{"equals":"gemini-2.5-flash-preview-09-2025"}]},"prices":{"input_mtok":0.3,"cache_read_mtok":0.03,"output_mtok":2.5,"input_audio_mtok":1,"cache_audio_read_mtok":0.1}},{"id":"gemini-2.5-flash-image","match":{"or":[{"equals":"gemini-2.5-flash-image"},{"equals":"gemini-2.5-flash-image-preview"}]},"context_window":1000000,"prices":{"input_mtok":0.3,"output_mtok":30}},{"id":"gemini-2.5-flash-lite","match":{"or":[{"equals":"gemini-2.5-flash-lite"},{"starts_with":"gemini-2.5-flash-lite-preview"}]},"context_window":1000000,"prices":{"input_mtok":0.1,"cache_read_mtok":0.01,"output_mtok":0.4,"input_audio_mtok":0.3,"cache_audio_read_mtok":0.03}},{"id":"gemini-2.5-flash-preview","match":{"or":[{"contains":"gemini-2.5-flash-preview-05-20"},{"contains":"gemini-2.5-flash-preview-04-17"},{"equals":"gemini-2.5-flash-preview-05-20:thinking"},{"equals":"gemini-2.5-flash-preview"},{"equals":"gemini-2.5-flash-preview:thinking"}]},"prices":{"input_mtok":0.15,"output_mtok":0.6},"deprecated":true},{"id":"gemini-2.5-pro","match":{"starts_with":"gemini-2.5-pro"},"prices":{"input_mtok":{"base":1.25,"tiers":[{"start":200000,"price":2.5}]},"cache_read_mtok":{"base":0.125,"tiers":[{"start":200000,"price":0.25}]},"output_mtok":{"base":10,"tiers":[{"start":200000,"price":15}]}}},{"id":"gemini-3-flash-preview","match":{"or":[{"equals":"gemini-3-flash-preview"},{"starts_with":"gemini-3-flash-preview-"}]},"context_window":1000000,"prices":{"input_mtok":0.5,"cache_read_mtok":0.05,"output_mtok":3,"input_audio_mtok":1,"cache_audio_read_mtok":0.1}},{"id":"gemini-3-pro-image-preview","match":{"or":[{"starts_with":"gemini-3-pro-image-preview"},{"equals":"gemini-3-pro-image-preview"}]},"context_window":1000000,"prices":{"input_mtok":2,"output_mtok":120}},{"id":"gemini-3-pro-preview","match":{"or":[{"starts_with":"gemini-3-pro-preview"},{"equals":"gemini-3-pro-text-preview"}]},"prices":{"input_mtok":{"base":2,"tiers":[{"start":200000,"price":4}]},"cache_read_mtok":{"base":0.2,"tiers":[{"start":200000,"price":0.4}]},"output_mtok":{"base":12,"tiers":[{"start":200000,"price":18}]}}},{"id":"gemini-3.1-flash-image-preview","match":{"starts_with":"gemini-3.1-flash-image-preview"},"context_window":1000000,"prices":{"input_mtok":0.5,"output_mtok":60}},{"id":"gemini-3.1-flash-lite","match":{"starts_with":"gemini-3.1-flash-lite"},"context_window":1000000,"prices":{"input_mtok":0.25,"cache_read_mtok":0.025,"output_mtok":1.5,"input_audio_mtok":0.5,"cache_audio_read_mtok":0.05}},{"id":"gemini-3.1-pro-preview","match":{"starts_with":"gemini-3.1-pro-preview"},"prices":{"input_mtok":{"base":2,"tiers":[{"start":200000,"price":4}]},"cache_read_mtok":{"base":0.2,"tiers":[{"start":200000,"price":0.4}]},"output_mtok":{"base":12,"tiers":[{"start":200000,"price":18}]}}},{"id":"gemini-3.5-flash","match":{"or":[{"equals":"gemini-3.5-flash"},{"starts_with":"gemini-3.5-flash-preview"},{"regex":"^gemini-3\\.5-flash-\\d"}]},"context_window":1000000,"prices":{"input_mtok":1.5,"cache_read_mtok":0.15,"output_mtok":9}},{"id":"gemini-3.5-flash-lite","match":{"starts_with":"gemini-3.5-flash-lite"},"context_window":1000000,"prices":{"input_mtok":0.3,"cache_read_mtok":0.03,"output_mtok":2.5}},{"id":"gemini-3.6-flash","match":{"starts_with":"gemini-3.6-flash"},"context_window":1000000,"prices":{"input_mtok":1.5,"cache_read_mtok":0.15,"output_mtok":7.5}},{"id":"gemini-embedding-001","match":{"equals":"gemini-embedding-001"},"prices":{"input_mtok":0.15}},{"id":"gemini-flash-1.5","match":{"equals":"gemini-flash-1.5"},"prices":{"input_mtok":{"base":0.075,"tiers":[{"start":128000,"price":0.15}]},"cache_read_mtok":{"base":0.01875,"tiers":[{"start":128000,"price":0.0375}]},"output_mtok":{"base":0.3,"tiers":[{"start":128000,"price":0.6}]}}},{"id":"gemini-flash-1.5-8b","match":{"equals":"gemini-flash-1.5-8b"},"context_window":1000000,"prices":{"input_mtok":{"base":0.0375,"tiers":[{"start":128000,"price":0.075}]},"cache_read_mtok":{"base":0.01,"tiers":[{"start":128000,"price":0.02}]},"output_mtok":{"base":0.15,"tiers":[{"start":128000,"price":0.3}]}}},{"id":"gemini-live-2.5-flash","match":{"or":[{"starts_with":"gemini-live-2.5-flash"},{"starts_with":"gemini-2.5-flash-native-audio-preview"}]},"prices":{"input_mtok":0.5,"output_mtok":2,"input_audio_mtok":3,"output_audio_mtok":12}},{"id":"gemini-pro","match":{"or":[{"equals":"gemini-pro"},{"equals":"gemini-1.0-pro"}]},"context_window":32768,"prices":{"input_mtok":0.125,"output_mtok":0.375}},{"id":"gemini-pro-1.5","match":{"equals":"gemini-pro-1.5"},"context_window":2000000,"prices":{"input_mtok":{"base":1.25,"tiers":[{"start":128000,"price":2.5}]},"cache_read_mtok":{"base":0.3125,"tiers":[{"start":128000,"price":0.625}]},"output_mtok":{"base":5,"tiers":[{"start":128000,"price":10}]}}},{"id":"gemma-2-27b-it","match":{"equals":"gemma-2-27b-it"},"prices":{"input_mtok":0.65,"output_mtok":0.65}},{"id":"gemma-4-26b-a4b-it","match":{"equals":"gemma-4-26b-a4b-it"},"prices":{"input_mtok":0.06,"output_mtok":0.33}},{"id":"gemma-4-31b-it","match":{"equals":"gemma-4-31b-it"},"prices":{"input_mtok":0.12,"cache_read_mtok":0.09,"output_mtok":0.36}}]},{"id":"groq","name":"Groq","pricing_urls":["https://groq.com/pricing/"],"api_pattern":"https://api\\.groq\\.com","extractors":[{"api_flavor":"default","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":"completion_tokens","dest":"output_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false}]}],"models":[{"id":"deepseek-r1-distill-llama-70b","match":{"equals":"deepseek-r1-distill-llama-70b"},"context_window":131072,"prices":{"input_mtok":0.75,"output_mtok":0.99}},{"id":"gemma-7b-it","match":{"equals":"gemma-7b-it"},"prices":{"input_mtok":0.07,"output_mtok":0.07}},{"id":"gemma2-9b-it","match":{"or":[{"equals":"gemma2-9b-it"},{"equals":"gemma2-9b"}]},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"llama-3.1-405b-reasoning","match":{"equals":"llama-3.1-405b-reasoning"},"prices":{"input_mtok":0.59,"output_mtok":0.79}},{"id":"llama-3.1-70b-versatile","match":{"equals":"llama-3.1-70b-versatile"},"prices":{"input_mtok":0.59,"output_mtok":0.79}},{"id":"llama-3.1-8b-instant","match":{"equals":"llama-3.1-8b-instant"},"prices":{"input_mtok":0.05,"output_mtok":0.08}},{"id":"llama-3.2-11b-text-preview","match":{"equals":"llama-3.2-11b-text-preview"},"prices":{"input_mtok":0.18,"output_mtok":0.18}},{"id":"llama-3.2-11b-vision-preview","match":{"equals":"llama-3.2-11b-vision-preview"},"prices":{"input_mtok":0.18,"output_mtok":0.18}},{"id":"llama-3.2-1b-preview","match":{"equals":"llama-3.2-1b-preview"},"prices":{"input_mtok":0.04,"output_mtok":0.04}},{"id":"llama-3.2-3b-preview","match":{"equals":"llama-3.2-3b-preview"},"prices":{"input_mtok":0.06,"output_mtok":0.06}},{"id":"llama-3.2-90b-text-preview","match":{"equals":"llama-3.2-90b-text-preview"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"llama-3.2-90b-vision-preview","match":{"equals":"llama-3.2-90b-vision-preview"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"llama-3.3-70b-specdec","match":{"equals":"llama-3.3-70b-specdec"},"prices":{"input_mtok":0.59,"output_mtok":0.99}},{"id":"llama-3.3-70b-versatile","match":{"equals":"llama-3.3-70b-versatile"},"prices":{"input_mtok":0.59,"output_mtok":0.79}},{"id":"llama-guard-3-8b","match":{"equals":"llama-guard-3-8b"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"llama2-70b-4096","match":{"equals":"llama2-70b-4096"},"prices":{"input_mtok":0.7,"output_mtok":0.8}},{"id":"llama3-70b-8192","match":{"equals":"llama3-70b-8192"},"prices":{"input_mtok":0.59,"output_mtok":0.79}},{"id":"llama3-8b-8192","match":{"equals":"llama3-8b-8192"},"prices":{"input_mtok":0.05,"output_mtok":0.08}},{"id":"llama3-groq-70b-8192-tool-use-preview","match":{"equals":"llama3-groq-70b-8192-tool-use-preview"},"prices":{"input_mtok":0.89,"output_mtok":0.89}},{"id":"llama3-groq-8b-8192-tool-use-preview","match":{"equals":"llama3-groq-8b-8192-tool-use-preview"},"prices":{"input_mtok":0.19,"output_mtok":0.19}},{"id":"meta-llama/llama-4-maverick-17b-128e-instruct","match":{"equals":"meta-llama/llama-4-maverick-17b-128e-instruct"},"context_window":131072,"prices":{"input_mtok":0.2,"output_mtok":0.6}},{"id":"meta-llama/llama-4-scout-17b-16e-instruct","match":{"equals":"meta-llama/llama-4-scout-17b-16e-instruct"},"prices":{"input_mtok":0.11,"output_mtok":0.34}},{"id":"meta-llama/llama-guard-4-12b","match":{"equals":"meta-llama/llama-guard-4-12b"},"context_window":131072,"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"mistral-saba-24b","match":{"equals":"mistral-saba-24b"},"prices":{"input_mtok":0.79,"output_mtok":0.79}},{"id":"mixtral-8x7b-32768","match":{"equals":"mixtral-8x7b-32768"},"prices":{"input_mtok":0.24,"output_mtok":0.24}},{"id":"moonshotai/kimi-k2-instruct","match":{"or":[{"equals":"moonshotai/kimi-k2-instruct"},{"equals":"moonshotai/kimi-k2-instruct-0905"}]},"context_window":131072,"prices":{"input_mtok":1,"cache_read_mtok":0.5,"output_mtok":3}},{"id":"openai/gpt-oss-120b","match":{"or":[{"equals":"openai/gpt-oss-120b"},{"equals":"openai/gpt-oss-safeguard-20b"}]},"context_window":131072,"prices":{"input_mtok":0.15,"cache_read_mtok":0.075,"output_mtok":0.6}},{"id":"openai/gpt-oss-20b","match":{"equals":"openai/gpt-oss-20b"},"context_window":131072,"prices":{"input_mtok":0.075,"cache_read_mtok":0.0375,"output_mtok":0.3}},{"id":"qwen/qwen3-32b","match":{"equals":"qwen/qwen3-32b"},"prices":{"input_mtok":0.29,"output_mtok":0.59}}]},{"id":"huggingface_cerebras","name":"HuggingFace (cerebras)","pricing_urls":["https://router.huggingface.co/v1/models","https://huggingface.co/inference/models"],"api_pattern":"https://router\\.huggingface\\.co/cerebras","provider_match":{"and":[{"contains":"huggingface"},{"contains":"cerebras"}]},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"meta-llama/Llama-3.1-8B-Instruct","match":{"or":[{"equals":"meta-llama/llama-3.1-8b-instruct"},{"equals":"meta-llama/llama-3.1-8b-instruct-fast"}]},"prices":{"input_mtok":0.1,"output_mtok":0.1}}]},{"id":"huggingface_fireworks-ai","name":"HuggingFace (fireworks-ai)","pricing_urls":["https://router.huggingface.co/v1/models","https://huggingface.co/inference/models"],"api_pattern":"https://router\\.huggingface\\.co/fireworks-ai","provider_match":{"and":[{"contains":"huggingface"},{"contains":"fireworks-ai"}]},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"meta-llama/Llama-3.3-70B-Instruct","match":{"or":[{"equals":"meta-llama/llama-3.3-70b-instruct"},{"equals":"meta-llama/llama-3.3-70b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"openai/gpt-oss-120b","match":{"or":[{"equals":"openai/gpt-oss-120b"},{"equals":"openai/gpt-oss-120b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.15,"output_mtok":0.6}},{"id":"openai/gpt-oss-20b","match":{"or":[{"equals":"openai/gpt-oss-20b"},{"equals":"openai/gpt-oss-20b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.05,"output_mtok":0.2}}]},{"id":"huggingface_groq","name":"HuggingFace (groq)","pricing_urls":["https://router.huggingface.co/v1/models","https://huggingface.co/inference/models"],"api_pattern":"https://router\\.huggingface\\.co/groq","provider_match":{"and":[{"contains":"huggingface"},{"contains":"groq"}]},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"Qwen/Qwen3-32B","match":{"or":[{"equals":"qwen/qwen3-32b"},{"equals":"qwen/qwen3-32b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.29,"output_mtok":0.59}},{"id":"meta-llama/Llama-3.3-70B-Instruct","match":{"or":[{"equals":"meta-llama/llama-3.3-70b-instruct"},{"equals":"meta-llama/llama-3.3-70b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.59,"output_mtok":0.79}},{"id":"meta-llama/Llama-4-Scout-17B-16E-Instruct","match":{"or":[{"equals":"meta-llama/llama-4-scout-17b-16e-instruct"},{"equals":"meta-llama/llama-4-scout-17b-16e-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.11,"output_mtok":0.34}},{"id":"openai/gpt-oss-120b","match":{"or":[{"equals":"openai/gpt-oss-120b"},{"equals":"openai/gpt-oss-120b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.15,"output_mtok":0.75}},{"id":"openai/gpt-oss-20b","match":{"or":[{"equals":"openai/gpt-oss-20b"},{"equals":"openai/gpt-oss-20b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.1,"output_mtok":0.5}}]},{"id":"huggingface_hyperbolic","name":"HuggingFace (hyperbolic)","pricing_urls":["https://router.huggingface.co/v1/models","https://huggingface.co/inference/models"],"api_pattern":"https://router\\.huggingface\\.co/hyperbolic","provider_match":{"and":[{"contains":"huggingface"},{"contains":"hyperbolic"}]},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"Qwen/Qwen2.5-VL-72B-Instruct","match":{"or":[{"equals":"qwen/qwen2.5-vl-72b-instruct"},{"equals":"qwen/qwen2.5-vl-72b-instruct-fast"}]},"context_window":32768,"prices":{"input_mtok":0.6,"output_mtok":0.6}},{"id":"Qwen/Qwen2.5-VL-7B-Instruct","match":{"or":[{"equals":"qwen/qwen2.5-vl-7b-instruct"},{"equals":"qwen/qwen2.5-vl-7b-instruct-fast"}]},"context_window":32768,"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"Qwen/Qwen3-235B-A22B-Instruct-2507","match":{"or":[{"equals":"qwen/qwen3-235b-a22b-instruct-2507"},{"equals":"qwen/qwen3-235b-a22b-instruct-2507-fast"}]},"context_window":262144,"prices":{"input_mtok":2,"output_mtok":2}},{"id":"Qwen/Qwen3-Coder-480B-A35B-Instruct","match":{"or":[{"equals":"qwen/qwen3-coder-480b-a35b-instruct"},{"equals":"qwen/qwen3-coder-480b-a35b-instruct-fast"}]},"context_window":262144,"prices":{"input_mtok":2,"output_mtok":2}},{"id":"Qwen/Qwen3-Next-80B-A3B-Instruct","match":{"or":[{"equals":"qwen/qwen3-next-80b-a3b-instruct"},{"equals":"qwen/qwen3-next-80b-a3b-instruct-fast"}]},"context_window":262144,"prices":{"input_mtok":0.3,"output_mtok":0.3}},{"id":"Qwen/Qwen3-Next-80B-A3B-Thinking","match":{"or":[{"equals":"qwen/qwen3-next-80b-a3b-thinking"},{"equals":"qwen/qwen3-next-80b-a3b-thinking-fast"}]},"context_window":262144,"prices":{"input_mtok":0.3,"output_mtok":0.3}},{"id":"deepseek-ai/DeepSeek-R1","match":{"or":[{"equals":"deepseek-ai/deepseek-r1"},{"equals":"deepseek-ai/deepseek-r1-fast"}]},"context_window":163840,"prices":{"input_mtok":2,"output_mtok":2}},{"id":"deepseek-ai/DeepSeek-R1-0528","match":{"or":[{"equals":"deepseek-ai/deepseek-r1-0528"},{"equals":"deepseek-ai/deepseek-r1-0528-fast"}]},"context_window":163840,"prices":{"input_mtok":3,"output_mtok":3}},{"id":"deepseek-ai/DeepSeek-V3-0324","match":{"or":[{"equals":"deepseek-ai/deepseek-v3-0324"},{"equals":"deepseek-ai/deepseek-v3-0324-fast"}]},"context_window":163840,"prices":{"input_mtok":1.25,"output_mtok":1.25}},{"id":"meta-llama/Llama-3.3-70B-Instruct","match":{"or":[{"equals":"meta-llama/llama-3.3-70b-instruct"},{"equals":"meta-llama/llama-3.3-70b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.4,"output_mtok":0.4}},{"id":"openai/gpt-oss-120b","match":{"or":[{"equals":"openai/gpt-oss-120b"},{"equals":"openai/gpt-oss-120b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.3,"output_mtok":0.3}},{"id":"openai/gpt-oss-20b","match":{"or":[{"equals":"openai/gpt-oss-20b"},{"equals":"openai/gpt-oss-20b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.1,"output_mtok":0.1}}]},{"id":"huggingface_nebius","name":"HuggingFace (nebius)","pricing_urls":["https://router.huggingface.co/v1/models","https://huggingface.co/inference/models"],"api_pattern":"https://router\\.huggingface\\.co/nebius","provider_match":{"and":[{"contains":"huggingface"},{"contains":"nebius"}]},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"NousResearch/Hermes-4-405B","match":{"or":[{"equals":"nousresearch/hermes-4-405b"},{"equals":"nousresearch/hermes-4-405b-fast"}]},"context_window":131072,"prices":{"input_mtok":1,"output_mtok":3}},{"id":"NousResearch/Hermes-4-70B","match":{"or":[{"equals":"nousresearch/hermes-4-70b"},{"equals":"nousresearch/hermes-4-70b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.13,"output_mtok":0.4}},{"id":"PrimeIntellect/INTELLECT-3-FP8","match":{"or":[{"equals":"primeintellect/intellect-3-fp8"},{"equals":"primeintellect/intellect-3-fp8-fast"}]},"context_window":131072,"prices":{"input_mtok":0.2,"output_mtok":1.1}},{"id":"Qwen/Qwen2.5-Coder-7B","match":{"or":[{"equals":"qwen/qwen2.5-coder-7b"},{"equals":"qwen/qwen2.5-coder-7b-fast"}]},"context_window":32768,"prices":{"input_mtok":0.03,"output_mtok":0.09}},{"id":"Qwen/Qwen2.5-VL-72B-Instruct","match":{"or":[{"equals":"qwen/qwen2.5-vl-72b-instruct"},{"equals":"qwen/qwen2.5-vl-72b-instruct-fast"}]},"context_window":32000,"prices":{"input_mtok":0.25,"output_mtok":0.75}},{"id":"Qwen/Qwen3-235B-A22B-Instruct-2507","match":{"or":[{"equals":"qwen/qwen3-235b-a22b-instruct-2507"},{"equals":"qwen/qwen3-235b-a22b-instruct-2507-fast"}]},"context_window":262144,"prices":{"input_mtok":0.2,"output_mtok":0.6}},{"id":"Qwen/Qwen3-235B-A22B-Thinking-2507","match":{"or":[{"equals":"qwen/qwen3-235b-a22b-thinking-2507"},{"equals":"qwen/qwen3-235b-a22b-thinking-2507-fast"}]},"context_window":262144,"prices":{"input_mtok":0.2,"output_mtok":0.8}},{"id":"Qwen/Qwen3-30B-A3B-Instruct-2507","match":{"or":[{"equals":"qwen/qwen3-30b-a3b-instruct-2507"},{"equals":"qwen/qwen3-30b-a3b-instruct-2507-fast"}]},"context_window":262144,"prices":{"input_mtok":0.1,"output_mtok":0.3}},{"id":"Qwen/Qwen3-30B-A3B-Thinking-2507","match":{"or":[{"equals":"qwen/qwen3-30b-a3b-thinking-2507"},{"equals":"qwen/qwen3-30b-a3b-thinking-2507-fast"}]},"context_window":262144,"prices":{"input_mtok":0.1,"output_mtok":0.3}},{"id":"Qwen/Qwen3-32B","match":{"or":[{"equals":"qwen/qwen3-32b"},{"equals":"qwen/qwen3-32b-fast"}]},"context_window":40960,"prices":{"input_mtok":0.1,"output_mtok":0.3}},{"id":"Qwen/Qwen3-Coder-30B-A3B-Instruct","match":{"or":[{"equals":"qwen/qwen3-coder-30b-a3b-instruct"},{"equals":"qwen/qwen3-coder-30b-a3b-instruct-fast"}]},"context_window":262144,"prices":{"input_mtok":0.1,"output_mtok":0.3}},{"id":"Qwen/Qwen3-Coder-480B-A35B-Instruct","match":{"or":[{"equals":"qwen/qwen3-coder-480b-a35b-instruct"},{"equals":"qwen/qwen3-coder-480b-a35b-instruct-fast"}]},"context_window":262144,"prices":{"input_mtok":0.4,"output_mtok":1.8}},{"id":"deepseek-ai/DeepSeek-R1-0528","match":{"or":[{"equals":"deepseek-ai/deepseek-r1-0528"},{"equals":"deepseek-ai/deepseek-r1-0528-fast"}]},"context_window":163840,"prices":{"input_mtok":0.8,"output_mtok":2.4}},{"id":"deepseek-ai/DeepSeek-V3-0324","match":{"or":[{"equals":"deepseek-ai/deepseek-v3-0324"},{"equals":"deepseek-ai/deepseek-v3-0324-fast"}]},"context_window":32768,"prices":{"input_mtok":0.75,"output_mtok":2.25}},{"id":"google/gemma-2-2b-it","match":{"or":[{"equals":"google/gemma-2-2b-it"},{"equals":"google/gemma-2-2b-it-fast"}]},"context_window":8192,"prices":{"input_mtok":0.02,"output_mtok":0.06}},{"id":"google/gemma-2-9b-it","match":{"or":[{"equals":"google/gemma-2-9b-it"},{"equals":"google/gemma-2-9b-it-fast"}]},"context_window":8192,"prices":{"input_mtok":0.03,"output_mtok":0.09}},{"id":"google/gemma-3-27b-it","match":{"or":[{"equals":"google/gemma-3-27b-it"},{"equals":"google/gemma-3-27b-it-fast"}]},"context_window":110000,"prices":{"input_mtok":0.2,"output_mtok":0.6}},{"id":"meta-llama/Llama-3.1-8B-Instruct","match":{"or":[{"equals":"meta-llama/llama-3.1-8b-instruct"},{"equals":"meta-llama/llama-3.1-8b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.03,"output_mtok":0.09}},{"id":"meta-llama/Llama-3.3-70B-Instruct","match":{"or":[{"equals":"meta-llama/llama-3.3-70b-instruct"},{"equals":"meta-llama/llama-3.3-70b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.25,"output_mtok":0.75}},{"id":"moonshotai/Kimi-K2-Instruct","match":{"or":[{"equals":"moonshotai/kimi-k2-instruct"},{"equals":"moonshotai/kimi-k2-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.5,"output_mtok":2.4}},{"id":"moonshotai/Kimi-K2-Thinking","match":{"or":[{"equals":"moonshotai/kimi-k2-thinking"},{"equals":"moonshotai/kimi-k2-thinking-fast"}]},"context_window":262144,"prices":{"input_mtok":0.6,"output_mtok":2.5}},{"id":"nvidia/Llama-3_1-Nemotron-Ultra-253B-v1","match":{"or":[{"equals":"nvidia/llama-3_1-nemotron-ultra-253b-v1"},{"equals":"nvidia/llama-3_1-nemotron-ultra-253b-v1-fast"}]},"context_window":131072,"prices":{"input_mtok":0.6,"output_mtok":1.8}},{"id":"nvidia/NVIDIA-Nemotron-Nano-12B-v2","match":{"or":[{"equals":"nvidia/nvidia-nemotron-nano-12b-v2"},{"equals":"nvidia/nvidia-nemotron-nano-12b-v2-fast"}]},"context_window":131072,"prices":{"input_mtok":0.07,"output_mtok":0.2}},{"id":"openai/gpt-oss-120b","match":{"or":[{"equals":"openai/gpt-oss-120b"},{"equals":"openai/gpt-oss-120b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.15,"output_mtok":0.6}},{"id":"zai-org/GLM-4.5","match":{"or":[{"equals":"zai-org/glm-4.5"},{"equals":"zai-org/glm-4.5-fast"}]},"context_window":131072,"prices":{"input_mtok":0.6,"output_mtok":2.2}},{"id":"zai-org/GLM-4.5-Air","match":{"or":[{"equals":"zai-org/glm-4.5-air"},{"equals":"zai-org/glm-4.5-air-fast"}]},"context_window":131072,"prices":{"input_mtok":0.2,"output_mtok":1.2}}]},{"id":"huggingface_novita","name":"HuggingFace (novita)","pricing_urls":["https://router.huggingface.co/v1/models","https://huggingface.co/inference/models"],"api_pattern":"https://router\\.huggingface\\.co/novita","provider_match":{"and":[{"contains":"huggingface"},{"contains":"novita"}]},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"MiniMaxAI/MiniMax-M1-80k","match":{"or":[{"equals":"minimaxai/minimax-m1-80k"},{"equals":"minimaxai/minimax-m1-80k-fast"}]},"context_window":1000000,"prices":{"input_mtok":0.55,"output_mtok":2.2}},{"id":"MiniMaxAI/MiniMax-M2","match":{"or":[{"equals":"minimaxai/minimax-m2"},{"equals":"minimaxai/minimax-m2-fast"},{"equals":"minimaxai/minimax-m2.1"},{"equals":"minimaxai/minimax-m2.1-fast"},{"equals":"minimaxai/minimax-m2.5"},{"equals":"minimaxai/minimax-m2.5-fast"}]},"context_window":204800,"prices":{"input_mtok":0.3,"output_mtok":1.2}},{"id":"NousResearch/Hermes-2-Pro-Llama-3-8B","match":{"or":[{"equals":"nousresearch/hermes-2-pro-llama-3-8b"},{"equals":"nousresearch/hermes-2-pro-llama-3-8b-fast"}]},"context_window":8192,"prices":{"input_mtok":0.14,"output_mtok":0.14}},{"id":"Qwen/Qwen2.5-72B-Instruct","match":{"or":[{"equals":"qwen/qwen2.5-72b-instruct"},{"equals":"qwen/qwen2.5-72b-instruct-fast"}]},"context_window":32000,"prices":{"input_mtok":0.38,"output_mtok":0.4}},{"id":"Qwen/Qwen3-235B-A22B","match":{"or":[{"equals":"qwen/qwen3-235b-a22b"},{"equals":"qwen/qwen3-235b-a22b-fast"}]},"context_window":40960,"prices":{"input_mtok":0.2,"output_mtok":0.8}},{"id":"Qwen/Qwen3-235B-A22B-Instruct-2507","match":{"or":[{"equals":"qwen/qwen3-235b-a22b-instruct-2507"},{"equals":"qwen/qwen3-235b-a22b-instruct-2507-fast"}]},"context_window":131072,"prices":{"input_mtok":0.09,"output_mtok":0.58}},{"id":"Qwen/Qwen3-235B-A22B-Thinking-2507","match":{"or":[{"equals":"qwen/qwen3-235b-a22b-thinking-2507"},{"equals":"qwen/qwen3-235b-a22b-thinking-2507-fast"}]},"context_window":131072,"prices":{"input_mtok":0.3,"output_mtok":3}},{"id":"Qwen/Qwen3-30B-A3B","match":{"or":[{"equals":"qwen/qwen3-30b-a3b"},{"equals":"qwen/qwen3-30b-a3b-fast"}]},"context_window":40960,"prices":{"input_mtok":0.09,"output_mtok":0.45}},{"id":"Qwen/Qwen3-32B","match":{"or":[{"equals":"qwen/qwen3-32b"},{"equals":"qwen/qwen3-32b-fast"}]},"context_window":40960,"prices":{"input_mtok":0.1,"output_mtok":0.45}},{"id":"Qwen/Qwen3-Coder-480B-A35B-Instruct","match":{"or":[{"equals":"qwen/qwen3-coder-480b-a35b-instruct"},{"equals":"qwen/qwen3-coder-480b-a35b-instruct-fast"}]},"context_window":262144,"prices":{"input_mtok":0.3,"output_mtok":1.3}},{"id":"Qwen/Qwen3-Coder-Next","match":{"or":[{"equals":"qwen/qwen3-coder-next"},{"equals":"qwen/qwen3-coder-next-fast"}]},"context_window":262144,"prices":{"input_mtok":0.2,"output_mtok":1.5}},{"id":"Qwen/Qwen3-Next-80B-A3B-Instruct","match":{"or":[{"equals":"qwen/qwen3-next-80b-a3b-instruct"},{"equals":"qwen/qwen3-next-80b-a3b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.15,"output_mtok":1.5}},{"id":"Qwen/Qwen3-Next-80B-A3B-Thinking","match":{"or":[{"equals":"qwen/qwen3-next-80b-a3b-thinking"},{"equals":"qwen/qwen3-next-80b-a3b-thinking-fast"}]},"context_window":131072,"prices":{"input_mtok":0.15,"output_mtok":1.5}},{"id":"Qwen/Qwen3-VL-235B-A22B-Instruct","match":{"or":[{"equals":"qwen/qwen3-vl-235b-a22b-instruct"},{"equals":"qwen/qwen3-vl-235b-a22b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.3,"output_mtok":1.5}},{"id":"Qwen/Qwen3-VL-235B-A22B-Thinking","match":{"or":[{"equals":"qwen/qwen3-vl-235b-a22b-thinking"},{"equals":"qwen/qwen3-vl-235b-a22b-thinking-fast"}]},"context_window":131072,"prices":{"input_mtok":0.98,"output_mtok":3.95}},{"id":"Qwen/Qwen3-VL-30B-A3B-Instruct","match":{"or":[{"equals":"qwen/qwen3-vl-30b-a3b-instruct"},{"equals":"qwen/qwen3-vl-30b-a3b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.2,"output_mtok":0.7}},{"id":"Qwen/Qwen3-VL-30B-A3B-Thinking","match":{"or":[{"equals":"qwen/qwen3-vl-30b-a3b-thinking"},{"equals":"qwen/qwen3-vl-30b-a3b-thinking-fast"}]},"context_window":131072,"prices":{"input_mtok":0.2,"output_mtok":1}},{"id":"Qwen/Qwen3-VL-8B-Instruct","match":{"or":[{"equals":"qwen/qwen3-vl-8b-instruct"},{"equals":"qwen/qwen3-vl-8b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.08,"output_mtok":0.5}},{"id":"Qwen/Qwen3.5-122B-A10B","match":{"or":[{"equals":"qwen/qwen3.5-122b-a10b"},{"equals":"qwen/qwen3.5-122b-a10b-fast"}]},"context_window":262144,"prices":{"input_mtok":0.4,"output_mtok":3.2}},{"id":"Qwen/Qwen3.5-27B","match":{"or":[{"equals":"qwen/qwen3.5-27b"},{"equals":"qwen/qwen3.5-27b-fast"}]},"context_window":262144,"prices":{"input_mtok":0.3,"output_mtok":2.4}},{"id":"Qwen/Qwen3.5-35B-A3B","match":{"or":[{"equals":"qwen/qwen3.5-35b-a3b"},{"equals":"qwen/qwen3.5-35b-a3b-fast"}]},"context_window":262144,"prices":{"input_mtok":0.25,"output_mtok":2}},{"id":"Qwen/Qwen3.5-397B-A17B","match":{"or":[{"equals":"qwen/qwen3.5-397b-a17b"},{"equals":"qwen/qwen3.5-397b-a17b-fast"}]},"context_window":262144,"prices":{"input_mtok":0.6,"output_mtok":3.6}},{"id":"Sao10K/L3-70B-Euryale-v2.1","match":{"or":[{"equals":"sao10k/l3-70b-euryale-v2.1"},{"equals":"sao10k/l3-70b-euryale-v2.1-fast"}]},"context_window":8192,"prices":{"input_mtok":1.48,"output_mtok":1.48}},{"id":"Sao10K/L3-8B-Lunaris-v1","match":{"or":[{"equals":"sao10k/l3-8b-lunaris-v1"},{"equals":"sao10k/l3-8b-lunaris-v1-fast"}]},"context_window":8192,"prices":{"input_mtok":0.05,"output_mtok":0.05}},{"id":"Sao10K/L3-8B-Stheno-v3.2","match":{"or":[{"equals":"sao10k/l3-8b-stheno-v3.2"},{"equals":"sao10k/l3-8b-stheno-v3.2-fast"}]},"context_window":8192,"prices":{"input_mtok":0.05,"output_mtok":0.05}},{"id":"XiaomiMiMo/MiMo-V2-Flash","match":{"or":[{"equals":"xiaomimimo/mimo-v2-flash"},{"equals":"xiaomimimo/mimo-v2-flash-fast"}]},"context_window":262144,"prices":{"input_mtok":0.1,"output_mtok":0.3}},{"id":"alpindale/WizardLM-2-8x22B","match":{"or":[{"equals":"alpindale/wizardlm-2-8x22b"},{"equals":"alpindale/wizardlm-2-8x22b-fast"}]},"context_window":65535,"prices":{"input_mtok":0.62,"output_mtok":0.62}},{"id":"baidu/ERNIE-4.5-21B-A3B-PT","match":{"or":[{"equals":"baidu/ernie-4.5-21b-a3b-pt"},{"equals":"baidu/ernie-4.5-21b-a3b-pt-fast"}]},"context_window":120000,"prices":{"input_mtok":0.07,"output_mtok":0.28}},{"id":"baidu/ERNIE-4.5-300B-A47B-Base-PT","match":{"or":[{"equals":"baidu/ernie-4.5-300b-a47b-base-pt"},{"equals":"baidu/ernie-4.5-300b-a47b-base-pt-fast"}]},"context_window":123000,"prices":{"input_mtok":0.28,"output_mtok":1.1}},{"id":"baidu/ERNIE-4.5-VL-28B-A3B-PT","match":{"or":[{"equals":"baidu/ernie-4.5-vl-28b-a3b-pt"},{"equals":"baidu/ernie-4.5-vl-28b-a3b-pt-fast"}]},"context_window":30000,"prices":{"input_mtok":0.14,"output_mtok":0.56}},{"id":"baidu/ERNIE-4.5-VL-424B-A47B-Base-PT","match":{"or":[{"equals":"baidu/ernie-4.5-vl-424b-a47b-base-pt"},{"equals":"baidu/ernie-4.5-vl-424b-a47b-base-pt-fast"}]},"context_window":123000,"prices":{"input_mtok":0.42,"output_mtok":1.25}},{"id":"deepseek-ai/DeepSeek-Prover-V2-671B","match":{"or":[{"equals":"deepseek-ai/deepseek-prover-v2-671b"},{"equals":"deepseek-ai/deepseek-prover-v2-671b-fast"}]},"context_window":160000,"prices":{"input_mtok":0.7,"output_mtok":2.5}},{"id":"deepseek-ai/DeepSeek-R1","match":{"or":[{"equals":"deepseek-ai/deepseek-r1"},{"equals":"deepseek-ai/deepseek-r1-fast"},{"equals":"deepseek-ai/deepseek-r1-0528"},{"equals":"deepseek-ai/deepseek-r1-0528-fast"}]},"context_window":64000,"prices":{"input_mtok":0.7,"output_mtok":2.5}},{"id":"deepseek-ai/DeepSeek-R1-Distill-Llama-70B","match":{"or":[{"equals":"deepseek-ai/deepseek-r1-distill-llama-70b"},{"equals":"deepseek-ai/deepseek-r1-distill-llama-70b-fast"}]},"context_window":8192,"prices":{"input_mtok":0.8,"output_mtok":0.8}},{"id":"deepseek-ai/DeepSeek-V3","match":{"or":[{"equals":"deepseek-ai/deepseek-v3"},{"equals":"deepseek-ai/deepseek-v3-fast"}]},"context_window":64000,"prices":{"input_mtok":0.4,"output_mtok":1.3}},{"id":"deepseek-ai/DeepSeek-V3-0324","match":{"or":[{"equals":"deepseek-ai/deepseek-v3-0324"},{"equals":"deepseek-ai/deepseek-v3-0324-fast"}]},"context_window":163840,"prices":{"input_mtok":0.27,"output_mtok":1.12}},{"id":"deepseek-ai/DeepSeek-V3.1","match":{"or":[{"equals":"deepseek-ai/deepseek-v3.1"},{"equals":"deepseek-ai/deepseek-v3.1-fast"},{"equals":"deepseek-ai/deepseek-v3.1-terminus"},{"equals":"deepseek-ai/deepseek-v3.1-terminus-fast"}]},"context_window":131072,"prices":{"input_mtok":0.27,"output_mtok":1}},{"id":"deepseek-ai/DeepSeek-V3.2","match":{"or":[{"equals":"deepseek-ai/deepseek-v3.2"},{"equals":"deepseek-ai/deepseek-v3.2-fast"}]},"context_window":163840,"prices":{"input_mtok":0.269,"output_mtok":0.4}},{"id":"deepseek-ai/DeepSeek-V3.2-Exp","match":{"or":[{"equals":"deepseek-ai/deepseek-v3.2-exp"},{"equals":"deepseek-ai/deepseek-v3.2-exp-fast"}]},"context_window":163840,"prices":{"input_mtok":0.27,"output_mtok":0.41}},{"id":"meta-llama/Llama-3.1-8B-Instruct","match":{"or":[{"equals":"meta-llama/llama-3.1-8b-instruct"},{"equals":"meta-llama/llama-3.1-8b-instruct-fast"}]},"context_window":16384,"prices":{"input_mtok":0.02,"output_mtok":0.05}},{"id":"meta-llama/Llama-3.3-70B-Instruct","match":{"or":[{"equals":"meta-llama/llama-3.3-70b-instruct"},{"equals":"meta-llama/llama-3.3-70b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.135,"output_mtok":0.4}},{"id":"meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8","match":{"or":[{"equals":"meta-llama/llama-4-maverick-17b-128e-instruct-fp8"},{"equals":"meta-llama/llama-4-maverick-17b-128e-instruct-fp8-fast"}]},"context_window":1048576,"prices":{"input_mtok":0.27,"output_mtok":0.85}},{"id":"meta-llama/Llama-4-Scout-17B-16E-Instruct","match":{"or":[{"equals":"meta-llama/llama-4-scout-17b-16e-instruct"},{"equals":"meta-llama/llama-4-scout-17b-16e-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.18,"output_mtok":0.59}},{"id":"meta-llama/Meta-Llama-3-70B-Instruct","match":{"or":[{"equals":"meta-llama/meta-llama-3-70b-instruct"},{"equals":"meta-llama/meta-llama-3-70b-instruct-fast"}]},"context_window":8192,"prices":{"input_mtok":0.51,"output_mtok":0.74}},{"id":"meta-llama/Meta-Llama-3-8B-Instruct","match":{"or":[{"equals":"meta-llama/meta-llama-3-8b-instruct"},{"equals":"meta-llama/meta-llama-3-8b-instruct-fast"}]},"context_window":8192,"prices":{"input_mtok":0.04,"output_mtok":0.04}},{"id":"moonshotai/Kimi-K2-Instruct","match":{"or":[{"equals":"moonshotai/kimi-k2-instruct"},{"equals":"moonshotai/kimi-k2-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.57,"output_mtok":2.3}},{"id":"moonshotai/Kimi-K2-Instruct-0905","match":{"or":[{"equals":"moonshotai/kimi-k2-instruct-0905"},{"equals":"moonshotai/kimi-k2-instruct-0905-fast"}]},"context_window":262144,"prices":{"input_mtok":0.6,"output_mtok":2.5}},{"id":"moonshotai/Kimi-K2-Thinking","match":{"or":[{"equals":"moonshotai/kimi-k2-thinking"},{"equals":"moonshotai/kimi-k2-thinking-fast"}]},"context_window":262144,"prices":{"input_mtok":0.6,"output_mtok":2.5}},{"id":"moonshotai/Kimi-K2.5","match":{"or":[{"equals":"moonshotai/kimi-k2.5"},{"equals":"moonshotai/kimi-k2.5-fast"}]},"context_window":262144,"prices":{"input_mtok":0.6,"output_mtok":3}},{"id":"openai/gpt-oss-120b","match":{"or":[{"equals":"openai/gpt-oss-120b"},{"equals":"openai/gpt-oss-120b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.05,"output_mtok":0.25}},{"id":"openai/gpt-oss-20b","match":{"or":[{"equals":"openai/gpt-oss-20b"},{"equals":"openai/gpt-oss-20b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.04,"output_mtok":0.15}},{"id":"zai-org/AutoGLM-Phone-9B-Multilingual","match":{"or":[{"equals":"zai-org/autoglm-phone-9b-multilingual"},{"equals":"zai-org/autoglm-phone-9b-multilingual-fast"}]},"context_window":65536,"prices":{"input_mtok":0.035,"output_mtok":0.138}},{"id":"zai-org/GLM-4-32B-0414","match":{"or":[{"equals":"zai-org/glm-4-32b-0414"},{"equals":"zai-org/glm-4-32b-0414-fast"}]},"context_window":32000,"prices":{"input_mtok":0.55,"output_mtok":1.66}},{"id":"zai-org/GLM-4.5","match":{"or":[{"equals":"zai-org/glm-4.5"},{"equals":"zai-org/glm-4.5-fast"}]},"context_window":131072,"prices":{"input_mtok":0.6,"output_mtok":2.2}},{"id":"zai-org/GLM-4.5-Air","match":{"or":[{"equals":"zai-org/glm-4.5-air"},{"equals":"zai-org/glm-4.5-air-fast"}]},"context_window":131072,"prices":{"input_mtok":0.13,"output_mtok":0.85}},{"id":"zai-org/GLM-4.5V","match":{"or":[{"equals":"zai-org/glm-4.5v"},{"equals":"zai-org/glm-4.5v-fast"}]},"context_window":65536,"prices":{"input_mtok":0.6,"output_mtok":1.8}},{"id":"zai-org/GLM-4.6","match":{"or":[{"equals":"zai-org/glm-4.6"},{"equals":"zai-org/glm-4.6-fast"}]},"context_window":204800,"prices":{"input_mtok":0.55,"output_mtok":2.2}},{"id":"zai-org/GLM-4.6V-Flash","match":{"or":[{"equals":"zai-org/glm-4.6v-flash"},{"equals":"zai-org/glm-4.6v-flash-fast"}]},"context_window":131072,"prices":{"input_mtok":0.3,"output_mtok":0.9}},{"id":"zai-org/GLM-4.7","match":{"or":[{"equals":"zai-org/glm-4.7"},{"equals":"zai-org/glm-4.7-fast"}]},"context_window":204800,"prices":{"input_mtok":0.6,"output_mtok":2.2}},{"id":"zai-org/GLM-4.7-Flash","match":{"or":[{"equals":"zai-org/glm-4.7-flash"},{"equals":"zai-org/glm-4.7-flash-fast"}]},"context_window":200000,"prices":{"input_mtok":0.07,"output_mtok":0.4}},{"id":"zai-org/GLM-5","match":{"or":[{"equals":"zai-org/glm-5"},{"equals":"zai-org/glm-5-fast"}]},"context_window":202800,"prices":{"input_mtok":1,"output_mtok":3.2}}]},{"id":"huggingface_nscale","name":"HuggingFace (nscale)","pricing_urls":["https://router.huggingface.co/v1/models","https://huggingface.co/inference/models"],"api_pattern":"https://router\\.huggingface\\.co/nscale","provider_match":{"and":[{"contains":"huggingface"},{"contains":"nscale"}]},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"Qwen/QwQ-32B","match":{"or":[{"equals":"qwen/qwq-32b"},{"equals":"qwen/qwq-32b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.18,"output_mtok":0.2}},{"id":"Qwen/Qwen2.5-Coder-32B-Instruct","match":{"or":[{"equals":"qwen/qwen2.5-coder-32b-instruct"},{"equals":"qwen/qwen2.5-coder-32b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.06,"output_mtok":0.2}},{"id":"Qwen/Qwen2.5-Coder-3B-Instruct","match":{"or":[{"equals":"qwen/qwen2.5-coder-3b-instruct"},{"equals":"qwen/qwen2.5-coder-3b-instruct-fast"}]},"context_window":32768,"prices":{"input_mtok":0.01,"output_mtok":0.03}},{"id":"Qwen/Qwen2.5-Coder-7B-Instruct","match":{"or":[{"equals":"qwen/qwen2.5-coder-7b-instruct"},{"equals":"qwen/qwen2.5-coder-7b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.01,"output_mtok":0.03}},{"id":"Qwen/Qwen3-14B","match":{"or":[{"equals":"qwen/qwen3-14b"},{"equals":"qwen/qwen3-14b-fast"}]},"context_window":40960,"prices":{"input_mtok":0.07,"output_mtok":0.2}},{"id":"Qwen/Qwen3-235B-A22B","match":{"or":[{"equals":"qwen/qwen3-235b-a22b"},{"equals":"qwen/qwen3-235b-a22b-fast"},{"equals":"qwen/qwen3-235b-a22b-instruct-2507"},{"equals":"qwen/qwen3-235b-a22b-instruct-2507-fast"}]},"context_window":32000,"prices":{"input_mtok":0.2,"output_mtok":0.6}},{"id":"Qwen/Qwen3-32B","match":{"or":[{"equals":"qwen/qwen3-32b"},{"equals":"qwen/qwen3-32b-fast"}]},"context_window":40960,"prices":{"input_mtok":0.08,"output_mtok":0.25}},{"id":"Qwen/Qwen3-4B-Instruct-2507","match":{"or":[{"equals":"qwen/qwen3-4b-instruct-2507"},{"equals":"qwen/qwen3-4b-instruct-2507-fast"}]},"context_window":262144,"prices":{"input_mtok":0.01,"output_mtok":0.03}},{"id":"Qwen/Qwen3-4B-Thinking-2507","match":{"or":[{"equals":"qwen/qwen3-4b-thinking-2507"},{"equals":"qwen/qwen3-4b-thinking-2507-fast"}]},"context_window":262144,"prices":{"input_mtok":0.01,"output_mtok":0.03}},{"id":"Qwen/Qwen3-8B","match":{"or":[{"equals":"qwen/qwen3-8b"},{"equals":"qwen/qwen3-8b-fast"}]},"context_window":40960,"prices":{"input_mtok":0.07,"output_mtok":0.18}},{"id":"deepseek-ai/DeepSeek-R1-Distill-Llama-70B","match":{"or":[{"equals":"deepseek-ai/deepseek-r1-distill-llama-70b"},{"equals":"deepseek-ai/deepseek-r1-distill-llama-70b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.75,"output_mtok":0.75}},{"id":"deepseek-ai/DeepSeek-R1-Distill-Llama-8B","match":{"or":[{"equals":"deepseek-ai/deepseek-r1-distill-llama-8b"},{"equals":"deepseek-ai/deepseek-r1-distill-llama-8b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.05,"output_mtok":0.05}},{"id":"deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B","match":{"or":[{"equals":"deepseek-ai/deepseek-r1-distill-qwen-1.5b"},{"equals":"deepseek-ai/deepseek-r1-distill-qwen-1.5b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"deepseek-ai/DeepSeek-R1-Distill-Qwen-32B","match":{"or":[{"equals":"deepseek-ai/deepseek-r1-distill-qwen-32b"},{"equals":"deepseek-ai/deepseek-r1-distill-qwen-32b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.3,"output_mtok":0.3}},{"id":"deepseek-ai/DeepSeek-R1-Distill-Qwen-7B","match":{"or":[{"equals":"deepseek-ai/deepseek-r1-distill-qwen-7b"},{"equals":"deepseek-ai/deepseek-r1-distill-qwen-7b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.15,"output_mtok":0.15}},{"id":"meta-llama/Llama-3.1-8B-Instruct","match":{"or":[{"equals":"meta-llama/llama-3.1-8b-instruct"},{"equals":"meta-llama/llama-3.1-8b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.06,"output_mtok":0.06}},{"id":"meta-llama/Llama-3.3-70B-Instruct","match":{"or":[{"equals":"meta-llama/llama-3.3-70b-instruct"},{"equals":"meta-llama/llama-3.3-70b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.4,"output_mtok":0.4}},{"id":"meta-llama/Llama-4-Scout-17B-16E-Instruct","match":{"or":[{"equals":"meta-llama/llama-4-scout-17b-16e-instruct"},{"equals":"meta-llama/llama-4-scout-17b-16e-instruct-fast"}]},"context_window":890000,"prices":{"input_mtok":0.09,"output_mtok":0.29}},{"id":"openai/gpt-oss-120b","match":{"or":[{"equals":"openai/gpt-oss-120b"},{"equals":"openai/gpt-oss-120b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.1,"output_mtok":0.4}},{"id":"openai/gpt-oss-20b","match":{"or":[{"equals":"openai/gpt-oss-20b"},{"equals":"openai/gpt-oss-20b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.05,"output_mtok":0.2}}]},{"id":"huggingface_ovhcloud","name":"HuggingFace (ovhcloud)","pricing_urls":["https://router.huggingface.co/v1/models","https://huggingface.co/inference/models"],"api_pattern":"https://router\\.huggingface\\.co/ovhcloud","provider_match":{"and":[{"contains":"huggingface"},{"contains":"ovhcloud"}]},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"Qwen/Qwen2.5-VL-72B-Instruct","match":{"or":[{"equals":"qwen/qwen2.5-vl-72b-instruct"},{"equals":"qwen/qwen2.5-vl-72b-instruct-fast"}]},"context_window":32768,"prices":{"input_mtok":1.01,"output_mtok":1.01}},{"id":"Qwen/Qwen3-32B","match":{"or":[{"equals":"qwen/qwen3-32b"},{"equals":"qwen/qwen3-32b-fast"}]},"context_window":32768,"prices":{"input_mtok":0.09,"output_mtok":0.25}},{"id":"Qwen/Qwen3-Coder-30B-A3B-Instruct","match":{"or":[{"equals":"qwen/qwen3-coder-30b-a3b-instruct"},{"equals":"qwen/qwen3-coder-30b-a3b-instruct-fast"}]},"context_window":262144,"prices":{"input_mtok":0.07,"output_mtok":0.26}},{"id":"meta-llama/Llama-3.1-8B-Instruct","match":{"or":[{"equals":"meta-llama/llama-3.1-8b-instruct"},{"equals":"meta-llama/llama-3.1-8b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.11,"output_mtok":0.11}},{"id":"meta-llama/Llama-3.3-70B-Instruct","match":{"or":[{"equals":"meta-llama/llama-3.3-70b-instruct"},{"equals":"meta-llama/llama-3.3-70b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.74,"output_mtok":0.74}},{"id":"openai/gpt-oss-120b","match":{"or":[{"equals":"openai/gpt-oss-120b"},{"equals":"openai/gpt-oss-120b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.09,"output_mtok":0.47}},{"id":"openai/gpt-oss-20b","match":{"or":[{"equals":"openai/gpt-oss-20b"},{"equals":"openai/gpt-oss-20b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.05,"output_mtok":0.18}}]},{"id":"huggingface_publicai","name":"HuggingFace (publicai)","pricing_urls":["https://router.huggingface.co/v1/models","https://huggingface.co/inference/models"],"api_pattern":"https://router\\.huggingface\\.co/publicai","provider_match":{"and":[{"contains":"huggingface"},{"contains":"publicai"}]},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"aisingapore/Gemma-SEA-LION-v4-27B-IT","match":{"or":[{"equals":"aisingapore/gemma-sea-lion-v4-27b-it"},{"equals":"aisingapore/gemma-sea-lion-v4-27b-it-fast"}]},"prices":{"input_mtok":0.2,"output_mtok":0.4}},{"id":"aisingapore/Qwen-SEA-LION-v4-32B-IT","match":{"or":[{"equals":"aisingapore/qwen-sea-lion-v4-32b-it"},{"equals":"aisingapore/qwen-sea-lion-v4-32b-it-fast"}]},"prices":{"input_mtok":0.25,"output_mtok":0.5}},{"id":"allenai/Olmo-3-7B-Instruct","match":{"or":[{"equals":"allenai/olmo-3-7b-instruct"},{"equals":"allenai/olmo-3-7b-instruct-fast"}]},"prices":{"input_mtok":0.1,"output_mtok":0.2}},{"id":"allenai/Olmo-3.1-32B-Instruct","match":{"or":[{"equals":"allenai/olmo-3.1-32b-instruct"},{"equals":"allenai/olmo-3.1-32b-instruct-fast"}]},"prices":{"input_mtok":0.2,"output_mtok":0.6}},{"id":"dicta-il/DictaLM-3.0-24B-Thinking","match":{"or":[{"equals":"dicta-il/dictalm-3.0-24b-thinking"},{"equals":"dicta-il/dictalm-3.0-24b-thinking-fast"}]},"prices":{"input_mtok":0.2,"output_mtok":0.4}},{"id":"swiss-ai/Apertus-70B-Instruct-2509","match":{"or":[{"equals":"swiss-ai/apertus-70b-instruct-2509"},{"equals":"swiss-ai/apertus-70b-instruct-2509-fast"}]},"prices":{"input_mtok":0.82,"output_mtok":2.92}},{"id":"swiss-ai/Apertus-8B-Instruct-2509","match":{"or":[{"equals":"swiss-ai/apertus-8b-instruct-2509"},{"equals":"swiss-ai/apertus-8b-instruct-2509-fast"}]},"prices":{"input_mtok":0.1,"output_mtok":0.2}},{"id":"utter-project/EuroLLM-22B-Instruct-2512","match":{"or":[{"equals":"utter-project/eurollm-22b-instruct-2512"},{"equals":"utter-project/eurollm-22b-instruct-2512-fast"}]},"prices":{"input_mtok":0.1,"output_mtok":0.2}}]},{"id":"huggingface_sambanova","name":"HuggingFace (sambanova)","pricing_urls":["https://router.huggingface.co/v1/models","https://huggingface.co/inference/models"],"api_pattern":"https://router\\.huggingface\\.co/sambanova","provider_match":{"and":[{"contains":"huggingface"},{"contains":"sambanova"}]},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"Qwen/Qwen3-32B","match":{"or":[{"equals":"qwen/qwen3-32b"},{"equals":"qwen/qwen3-32b-fast"}]},"context_window":32768,"prices":{"input_mtok":0.4,"output_mtok":0.8}},{"id":"deepseek-ai/DeepSeek-R1-0528","match":{"or":[{"equals":"deepseek-ai/deepseek-r1-0528"},{"equals":"deepseek-ai/deepseek-r1-0528-fast"}]},"context_window":131072,"prices":{"input_mtok":5,"output_mtok":7}},{"id":"deepseek-ai/DeepSeek-R1-Distill-Llama-70B","match":{"or":[{"equals":"deepseek-ai/deepseek-r1-distill-llama-70b"},{"equals":"deepseek-ai/deepseek-r1-distill-llama-70b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.7,"output_mtok":1.4}},{"id":"deepseek-ai/DeepSeek-V3-0324","match":{"or":[{"equals":"deepseek-ai/deepseek-v3-0324"},{"equals":"deepseek-ai/deepseek-v3-0324-fast"}]},"context_window":131072,"prices":{"input_mtok":3,"output_mtok":4.5}},{"id":"meta-llama/Llama-3.1-8B-Instruct","match":{"or":[{"equals":"meta-llama/llama-3.1-8b-instruct"},{"equals":"meta-llama/llama-3.1-8b-instruct-fast"}]},"context_window":16384,"prices":{"input_mtok":0.1,"output_mtok":0.2}},{"id":"meta-llama/Llama-3.3-70B-Instruct","match":{"or":[{"equals":"meta-llama/llama-3.3-70b-instruct"},{"equals":"meta-llama/llama-3.3-70b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.6,"output_mtok":1.2}},{"id":"openai/gpt-oss-120b","match":{"or":[{"equals":"openai/gpt-oss-120b"},{"equals":"openai/gpt-oss-120b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.22,"output_mtok":0.59}},{"id":"tokyotech-llm/Llama-3.3-Swallow-70B-Instruct-v0.4","match":{"or":[{"equals":"tokyotech-llm/llama-3.3-swallow-70b-instruct-v0.4"},{"equals":"tokyotech-llm/llama-3.3-swallow-70b-instruct-v0.4-fast"}]},"context_window":131072,"prices":{"input_mtok":0.6,"output_mtok":1.2}}]},{"id":"huggingface_together","name":"HuggingFace (together)","pricing_urls":["https://router.huggingface.co/v1/models","https://huggingface.co/inference/models"],"api_pattern":"https://router\\.huggingface\\.co/together","provider_match":{"and":[{"contains":"huggingface"},{"contains":"together"}]},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"EssentialAI/rnj-1-instruct","match":{"or":[{"equals":"essentialai/rnj-1-instruct"},{"equals":"essentialai/rnj-1-instruct-fast"}]},"context_window":32768,"prices":{"input_mtok":0.15,"output_mtok":0.15}},{"id":"Qwen/Qwen2.5-7B-Instruct","match":{"or":[{"equals":"qwen/qwen2.5-7b-instruct"},{"equals":"qwen/qwen2.5-7b-instruct-fast"}]},"context_window":32768,"prices":{"input_mtok":0.3,"output_mtok":0.3}},{"id":"Qwen/Qwen3-235B-A22B-Instruct-2507","match":{"or":[{"equals":"qwen/qwen3-235b-a22b-instruct-2507"},{"equals":"qwen/qwen3-235b-a22b-instruct-2507-fast"}]},"context_window":262144,"prices":{"input_mtok":0.2,"output_mtok":0.6}},{"id":"Qwen/Qwen3-Coder-480B-A35B-Instruct","match":{"or":[{"equals":"qwen/qwen3-coder-480b-a35b-instruct"},{"equals":"qwen/qwen3-coder-480b-a35b-instruct-fast"},{"equals":"qwen/qwen3-coder-480b-a35b-instruct-fp8"},{"equals":"qwen/qwen3-coder-480b-a35b-instruct-fp8-fast"}]},"context_window":262144,"prices":{"input_mtok":2,"output_mtok":2}},{"id":"Qwen/Qwen3-Coder-Next-FP8","match":{"or":[{"equals":"qwen/qwen3-coder-next-fp8"},{"equals":"qwen/qwen3-coder-next-fp8-fast"}]},"context_window":262144,"prices":{"input_mtok":0.5,"output_mtok":1.2}},{"id":"Qwen/Qwen3-Next-80B-A3B-Instruct","match":{"or":[{"equals":"qwen/qwen3-next-80b-a3b-instruct"},{"equals":"qwen/qwen3-next-80b-a3b-instruct-fast"}]},"context_window":262144,"prices":{"input_mtok":0.15,"output_mtok":1.5}},{"id":"Qwen/Qwen3-VL-8B-Instruct","match":{"or":[{"equals":"qwen/qwen3-vl-8b-instruct"},{"equals":"qwen/qwen3-vl-8b-instruct-fast"}]},"context_window":262144,"prices":{"input_mtok":0.18000000000000002,"output_mtok":0.68}},{"id":"Qwen/Qwen3.5-397B-A17B","match":{"or":[{"equals":"qwen/qwen3.5-397b-a17b"},{"equals":"qwen/qwen3.5-397b-a17b-fast"}]},"context_window":262144,"prices":{"input_mtok":0.6,"output_mtok":3.6}},{"id":"Qwen/Qwen3.5-9B","match":{"or":[{"equals":"qwen/qwen3.5-9b"},{"equals":"qwen/qwen3.5-9b-fast"}]},"context_window":262144,"prices":{"input_mtok":0.1,"output_mtok":0.15}},{"id":"deepcogito/cogito-671b-v2.1","match":{"or":[{"equals":"deepcogito/cogito-671b-v2.1"},{"equals":"deepcogito/cogito-671b-v2.1-fast"},{"equals":"deepcogito/cogito-671b-v2.1-fp8"},{"equals":"deepcogito/cogito-671b-v2.1-fp8-fast"}]},"context_window":163840,"prices":{"input_mtok":1.25,"output_mtok":1.25}},{"id":"deepseek-ai/DeepSeek-R1","match":{"or":[{"equals":"deepseek-ai/deepseek-r1"},{"equals":"deepseek-ai/deepseek-r1-fast"},{"equals":"deepseek-ai/deepseek-r1-0528"},{"equals":"deepseek-ai/deepseek-r1-0528-fast"}]},"context_window":163840,"prices":{"input_mtok":3,"output_mtok":7}},{"id":"deepseek-ai/DeepSeek-V3","match":{"or":[{"equals":"deepseek-ai/deepseek-v3"},{"equals":"deepseek-ai/deepseek-v3-fast"},{"equals":"deepseek-ai/deepseek-v3-0324"},{"equals":"deepseek-ai/deepseek-v3-0324-fast"}]},"context_window":131072,"prices":{"input_mtok":1.25,"output_mtok":1.25}},{"id":"deepseek-ai/DeepSeek-V3.1","match":{"or":[{"equals":"deepseek-ai/deepseek-v3.1"},{"equals":"deepseek-ai/deepseek-v3.1-fast"}]},"context_window":131072,"prices":{"input_mtok":0.6,"output_mtok":1.7}},{"id":"google/gemma-3n-E4B-it","match":{"or":[{"equals":"google/gemma-3n-e4b-it"},{"equals":"google/gemma-3n-e4b-it-fast"}]},"context_window":32768,"prices":{"input_mtok":0.02,"output_mtok":0.04}},{"id":"meta-llama/Llama-3.3-70B-Instruct","match":{"or":[{"equals":"meta-llama/llama-3.3-70b-instruct"},{"equals":"meta-llama/llama-3.3-70b-instruct-fast"}]},"context_window":131072,"prices":{"input_mtok":0.88,"output_mtok":0.88}},{"id":"meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8","match":{"or":[{"equals":"meta-llama/llama-4-maverick-17b-128e-instruct-fp8"},{"equals":"meta-llama/llama-4-maverick-17b-128e-instruct-fp8-fast"}]},"context_window":1048576,"prices":{"input_mtok":0.27,"output_mtok":0.85}},{"id":"moonshotai/Kimi-K2.5","match":{"or":[{"equals":"moonshotai/kimi-k2.5"},{"equals":"moonshotai/kimi-k2.5-fast"}]},"context_window":262144,"prices":{"input_mtok":0.5,"output_mtok":2.8}},{"id":"openai/gpt-oss-120b","match":{"or":[{"equals":"openai/gpt-oss-120b"},{"equals":"openai/gpt-oss-120b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.15,"output_mtok":0.6}},{"id":"openai/gpt-oss-20b","match":{"or":[{"equals":"openai/gpt-oss-20b"},{"equals":"openai/gpt-oss-20b-fast"}]},"context_window":131072,"prices":{"input_mtok":0.05,"output_mtok":0.2}},{"id":"zai-org/GLM-4.5-Air-FP8","match":{"or":[{"equals":"zai-org/glm-4.5-air-fp8"},{"equals":"zai-org/glm-4.5-air-fp8-fast"}]},"context_window":131072,"prices":{"input_mtok":0.2,"output_mtok":1.1}},{"id":"zai-org/GLM-4.6","match":{"or":[{"equals":"zai-org/glm-4.6"},{"equals":"zai-org/glm-4.6-fast"}]},"context_window":202752,"prices":{"input_mtok":0.6,"output_mtok":2.2}},{"id":"zai-org/GLM-4.7-FP8","match":{"or":[{"equals":"zai-org/glm-4.7-fp8"},{"equals":"zai-org/glm-4.7-fp8-fast"}]},"context_window":202752,"prices":{"input_mtok":0.45,"output_mtok":2}},{"id":"zai-org/GLM-5","match":{"or":[{"equals":"zai-org/glm-5"},{"equals":"zai-org/glm-5-fast"}]},"context_window":202752,"prices":{"input_mtok":1,"output_mtok":3.2}}]},{"id":"minimax","name":"MiniMax","pricing_urls":["https://platform.minimax.io/docs/guides/pricing-paygo"],"api_pattern":"https://api\\.minimax(i)?\\.(?:com|io)","model_match":{"or":[{"starts_with":"MiniMax-M"},{"starts_with":"minimax-m"},{"equals":"minimax-01"},{"equals":"M2-her"},{"equals":"m2-her"}]},"extractors":[{"api_flavor":"default","root":"usage","model_path":"model","mappings":[{"path":"input_tokens","dest":"input_tokens","required":true},{"path":"cache_creation_input_tokens","dest":"input_tokens","required":false},{"path":"cache_read_input_tokens","dest":"input_tokens","required":false},{"path":"cache_creation_input_tokens","dest":"cache_write_tokens","required":false},{"path":"cache_read_input_tokens","dest":"cache_read_tokens","required":false},{"path":"output_tokens","dest":"output_tokens","required":true}]},{"api_flavor":"responses","root":"usage","model_path":"model","mappings":[{"path":"input_tokens","dest":"input_tokens","required":true},{"path":["input_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":"output_tokens","dest":"output_tokens","required":true}]},{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"M2-her","match":{"or":[{"equals":"M2-her"},{"equals":"m2-her"}]},"context_window":64000,"prices":{"input_mtok":0.3,"output_mtok":1.2}},{"id":"MiniMax-M2","match":{"or":[{"equals":"MiniMax-M2"},{"equals":"minimax-m2"},{"equals":"MiniMax-M2.1"},{"equals":"minimax-m2.1"},{"equals":"MiniMax-M2.5"},{"equals":"minimax-m2.5"}]},"context_window":204800,"prices":{"input_mtok":0.3,"cache_write_mtok":0.375,"cache_read_mtok":0.03,"output_mtok":1.2}},{"id":"MiniMax-M2.1-highspeed","match":{"or":[{"contains":"M2.1-highspeed"},{"contains":"m2.1-highspeed"}]},"context_window":204800,"prices":{"input_mtok":0.6,"cache_write_mtok":0.375,"cache_read_mtok":0.03,"output_mtok":2.4}},{"id":"MiniMax-M2.5-highspeed","match":{"or":[{"contains":"M2.5-highspeed"},{"contains":"m2.5-highspeed"}]},"context_window":204800,"prices":{"input_mtok":0.6,"cache_write_mtok":0.375,"cache_read_mtok":0.03,"output_mtok":2.4}},{"id":"MiniMax-M2.7","match":{"or":[{"equals":"MiniMax-M2.7"},{"equals":"minimax-m2.7"}]},"context_window":204800,"prices":{"input_mtok":0.3,"cache_write_mtok":0.375,"cache_read_mtok":0.06,"output_mtok":1.2}},{"id":"MiniMax-M2.7-highspeed","match":{"or":[{"contains":"M2.7-highspeed"},{"contains":"m2.7-highspeed"}]},"context_window":204800,"prices":{"input_mtok":0.6,"cache_write_mtok":0.375,"cache_read_mtok":0.06,"output_mtok":2.4}},{"id":"minimax-01","match":{"equals":"minimax-01"},"prices":{"input_mtok":0.2,"output_mtok":1.1}},{"id":"minimax-m1","match":{"equals":"minimax-m1"},"prices":{"input_mtok":0.4,"output_mtok":2.2}},{"id":"minimax-m3","match":{"equals":"minimax-m3"},"context_window":1000000,"prices":{"input_mtok":{"base":0.3,"tiers":[{"start":512000,"price":0.6}]},"cache_read_mtok":{"base":0.06,"tiers":[{"start":512000,"price":0.12}]},"output_mtok":{"base":1.2,"tiers":[{"start":512000,"price":2.4}]}}}]},{"id":"mistral","name":"Mistral","pricing_urls":["https://mistral.ai/pricing#api-pricing"],"api_pattern":"https://api\\.mistral\\.ai","model_match":{"regex":"(?:mi|code|dev|magi|mini)stral"},"provider_match":{"starts_with":"mistral"},"extractors":[{"api_flavor":"default","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"codestral","match":{"or":[{"equals":"codestral-latest"},{"equals":"codestral-2501"}]},"prices":{"input_mtok":0.3,"output_mtok":0.9}},{"id":"codestral-2508","match":{"equals":"codestral-2508"},"prices":{"input_mtok":0.3,"cache_read_mtok":0.03,"output_mtok":0.9}},{"id":"devstral-2512","match":{"equals":"devstral-2512"},"prices":{"input_mtok":0.4,"cache_read_mtok":0.04,"output_mtok":2}},{"id":"devstral-small","match":{"equals":"devstral-small"},"prices":{"input_mtok":0.06,"output_mtok":0.12}},{"id":"magistral-medium","match":{"or":[{"starts_with":"magistral-medium"}]},"prices":{"input_mtok":2,"output_mtok":5}},{"id":"magistral-small","match":{"starts_with":"magistral-small-"},"prices":{"input_mtok":0.5,"output_mtok":1.5}},{"id":"ministral-14b-2512","match":{"equals":"ministral-14b-2512"},"prices":{"input_mtok":0.2,"cache_read_mtok":0.02,"output_mtok":0.2}},{"id":"ministral-3b","match":{"equals":"ministral-3b"},"prices":{"input_mtok":0.04,"output_mtok":0.04}},{"id":"ministral-3b-2512","match":{"equals":"ministral-3b-2512"},"prices":{"input_mtok":0.1,"cache_read_mtok":0.01,"output_mtok":0.1}},{"id":"ministral-8b","match":{"starts_with":"ministral-8b"},"prices":{"input_mtok":0.1,"output_mtok":1}},{"id":"mistral-7b","match":{"or":[{"equals":"mistral-7b"},{"equals":"open-mistral-7b"}]},"prices":{"input_mtok":0.25,"output_mtok":0.25}},{"id":"mistral-embed","match":{"equals":"mistral-embed"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"mistral-large","match":{"or":[{"equals":"mistral-large"},{"equals":"mistral-large-latest"},{"equals":"mistral-large-2407"},{"equals":"mistral-large-2411"}]},"prices":{"input_mtok":2,"output_mtok":6}},{"id":"mistral-large-2512","match":{"equals":"mistral-large-2512"},"prices":{"input_mtok":0.5,"cache_read_mtok":0.05,"output_mtok":1.5}},{"id":"mistral-medium-3","match":{"starts_with":"mistral-medium"},"prices":{"input_mtok":0.4,"output_mtok":2}},{"id":"mistral-nemo","match":{"or":[{"equals":"mistral-nemo"},{"equals":"open-mistral-nemo"}]},"prices":{"input_mtok":0.15,"output_mtok":0.15}},{"id":"mistral-saba","match":{"or":[{"equals":"mistral-saba"},{"equals":"mistral-saba-latest"}]},"prices":{"input_mtok":0.2,"output_mtok":0.6}},{"id":"mistral-small-24b-instruct-2501","match":{"equals":"mistral-small-24b-instruct-2501"},"prices":{"input_mtok":0.05,"output_mtok":0.08}},{"id":"mistral-small-2603","match":{"equals":"mistral-small-2603"},"prices":{"input_mtok":0.15,"cache_read_mtok":0.015,"output_mtok":0.6}},{"id":"mistral-small-3.1-24b-instruct","match":{"equals":"mistral-small-3.1-24b-instruct"},"prices":{"input_mtok":0.351,"output_mtok":0.555}},{"id":"mistral-small-3.2-24b-instruct","match":{"equals":"mistral-small-3.2-24b-instruct"},"prices":{"input_mtok":0.075,"output_mtok":0.2}},{"id":"mistral-small-latest","match":{"equals":"mistral-small-latest"},"prices":{"input_mtok":0.1,"output_mtok":0.3}},{"id":"mistral-tiny","match":{"equals":"mistral-tiny"},"prices":{"input_mtok":0.25,"output_mtok":0.25},"deprecated":true},{"id":"mixtral-8x22b-instruct","match":{"equals":"mixtral-8x22b-instruct"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"mixtral-8x7b","match":{"or":[{"starts_with":"mixtral-8x7b"},{"equals":"open-mixtral-8x7b"}]},"prices":{"input_mtok":0.7,"output_mtok":0.7}},{"id":"pixtral-12b","match":{"or":[{"equals":"pixtral-12b"},{"equals":"pixtral-12b-latest"}]},"prices":{"input_mtok":0.15,"output_mtok":0.15}},{"id":"pixtral-large","match":{"or":[{"equals":"pixtral-large-latest"},{"equals":"pixtral-large-2411"}]},"prices":{"input_mtok":2,"output_mtok":6}},{"id":"voxtral-small-24b-2507","match":{"equals":"voxtral-small-24b-2507"},"prices":{"input_mtok":0.1,"cache_read_mtok":0.01,"output_mtok":0.3}}]},{"id":"moonshotai","name":"MoonshotAi","pricing_urls":["https://platform.moonshot.ai/docs/pricing/chat#product-pricing"],"api_pattern":"https://api\\.moonshot\\.","model_match":{"or":[{"starts_with":"kimi"},{"starts_with":"moonshot"}]},"provider_match":{"contains":"moonshot"},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"kimi-k2","match":{"equals":"kimi-k2"},"prices":{"input_mtok":0.57,"output_mtok":2.3}},{"id":"kimi-k2-0711-preview","match":{"equals":"kimi-k2-0711-preview"},"context_window":131072,"prices":{"input_mtok":0.6,"cache_read_mtok":0.15,"output_mtok":2.5}},{"id":"kimi-k2-0905-preview","match":{"equals":"kimi-k2-0905-preview"},"context_window":262144,"prices":{"input_mtok":0.6,"cache_read_mtok":0.15,"output_mtok":2.5}},{"id":"kimi-k2-thinking","match":{"equals":"kimi-k2-thinking"},"context_window":262144,"prices":{"input_mtok":0.6,"cache_read_mtok":0.15,"output_mtok":2.5}},{"id":"kimi-k2-thinking-turbo","match":{"equals":"kimi-k2-thinking-turbo"},"context_window":262144,"prices":{"input_mtok":1.15,"cache_read_mtok":0.15,"output_mtok":8}},{"id":"kimi-k2-turbo-preview","match":{"starts_with":"kimi-k2-turbo"},"context_window":262144,"prices":{"input_mtok":1.15,"cache_read_mtok":0.15,"output_mtok":8}},{"id":"kimi-k2.5","match":{"starts_with":"kimi-k2.5"},"context_window":262144,"prices":{"input_mtok":0.6,"cache_read_mtok":0.1,"output_mtok":3}},{"id":"kimi-k2.6","match":{"starts_with":"kimi-k2.6"},"context_window":262144,"prices":{"input_mtok":0.95,"cache_read_mtok":0.16,"output_mtok":4}},{"id":"kimi-k2.7-code","match":{"equals":"kimi-k2.7-code"},"context_window":262144,"prices":{"input_mtok":0.95,"cache_read_mtok":0.19,"output_mtok":4}},{"id":"kimi-k3","match":{"equals":"kimi-k3"},"context_window":1048576,"prices":{"input_mtok":3,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"moonshot-v1-128k","match":{"or":[{"equals":"moonshot-v1-128k"},{"equals":"moonshot-v1-128k-vision-preview"}]},"context_window":131072,"prices":{"input_mtok":2,"output_mtok":5}},{"id":"moonshot-v1-32k","match":{"or":[{"equals":"moonshot-v1-32k"},{"equals":"moonshot-v1-32k-vision-preview"}]},"context_window":32768,"prices":{"input_mtok":1,"output_mtok":3}},{"id":"moonshot-v1-8k","match":{"or":[{"equals":"moonshot-v1-8k"},{"equals":"moonshot-v1-8k-vision-preview"}]},"context_window":8192,"prices":{"input_mtok":0.2,"output_mtok":2}}]},{"id":"novita","name":"Novita","pricing_urls":["https://novita.ai/pricing"],"api_pattern":"https://api\\.novita\\.ai","models":[{"id":"Sao10K/L3-8B-Stheno-v3.2","match":{"equals":"Sao10K/L3-8B-Stheno-v3.2"},"prices":{"input_mtok":0.05,"output_mtok":0.05}},{"id":"cognitivecomputations/dolphin-mixtral-8x22b","match":{"equals":"cognitivecomputations/dolphin-mixtral-8x22b"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"deepseek/deepseek-r1","match":{"equals":"deepseek/deepseek-r1"},"prices":{"input_mtok":4,"output_mtok":4}},{"id":"deepseek/deepseek-r1-distill-llama-70b","match":{"equals":"deepseek/deepseek-r1-distill-llama-70b"},"prices":{"input_mtok":0.8,"output_mtok":0.8}},{"id":"deepseek/deepseek-r1-distill-llama-8b","match":{"equals":"deepseek/deepseek-r1-distill-llama-8b"},"prices":{"input_mtok":0.04,"output_mtok":0.04}},{"id":"deepseek/deepseek-r1-distill-qwen-14b","match":{"equals":"deepseek/deepseek-r1-distill-qwen-14b"},"prices":{"input_mtok":0.15,"output_mtok":0.15}},{"id":"deepseek/deepseek-r1-distill-qwen-32b","match":{"equals":"deepseek/deepseek-r1-distill-qwen-32b"},"prices":{"input_mtok":0.3,"output_mtok":0.3}},{"id":"deepseek/deepseek_v3","match":{"equals":"deepseek/deepseek_v3"},"prices":{"input_mtok":0.89,"output_mtok":0.89}},{"id":"google/gemma-2-9b-it","match":{"equals":"google/gemma-2-9b-it"},"prices":{"input_mtok":0.08,"output_mtok":0.08}},{"id":"gryphe/mythomax-l2-13b","match":{"equals":"gryphe/mythomax-l2-13b"},"prices":{"input_mtok":0.09,"output_mtok":0.09}},{"id":"jondurbin/airoboros-l2-70b","match":{"equals":"jondurbin/airoboros-l2-70b"},"prices":{"input_mtok":0.5,"output_mtok":0.5}},{"id":"meta-llama/llama-3-70b-instruct","match":{"equals":"meta-llama/llama-3-70b-instruct"},"prices":{"input_mtok":0.51,"output_mtok":0.74}},{"id":"meta-llama/llama-3-8b-instruct","match":{"equals":"meta-llama/llama-3-8b-instruct"},"prices":{"input_mtok":0.04,"output_mtok":0.04}},{"id":"meta-llama/llama-3.1-70b-instruct","match":{"equals":"meta-llama/llama-3.1-70b-instruct"},"prices":{"input_mtok":0.34,"output_mtok":0.39}},{"id":"meta-llama/llama-3.1-8b-instruct","match":{"or":[{"equals":"meta-llama/llama-3.1-8b-instruct"},{"equals":"meta-llama/llama-3.1-8b-instruct-max"}]},"prices":{"input_mtok":0.05,"output_mtok":0.05}},{"id":"meta-llama/llama-3.1-8b-instruct-bf16","match":{"equals":"meta-llama/llama-3.1-8b-instruct-bf16"},"prices":{"input_mtok":0.06,"output_mtok":0.06}},{"id":"meta-llama/llama-3.2-11b-vision-instruct","match":{"equals":"meta-llama/llama-3.2-11b-vision-instruct"},"prices":{"input_mtok":0.06,"output_mtok":0.06}},{"id":"meta-llama/llama-3.2-1b-instruct","match":{"equals":"meta-llama/llama-3.2-1b-instruct"},"prices":{"input_mtok":0.02,"output_mtok":0.02}},{"id":"meta-llama/llama-3.2-3b-instruct","match":{"equals":"meta-llama/llama-3.2-3b-instruct"},"prices":{"input_mtok":0.03,"output_mtok":0.05}},{"id":"meta-llama/llama-3.3-70b-instruct","match":{"equals":"meta-llama/llama-3.3-70b-instruct"},"prices":{"input_mtok":0.39,"output_mtok":0.39}},{"id":"microsoft/wizardlm-2-8x22b","match":{"equals":"microsoft/wizardlm-2-8x22b"},"prices":{"input_mtok":0.62,"output_mtok":0.62}},{"id":"mistralai/mistral-7b-instruct","match":{"equals":"mistralai/mistral-7b-instruct"},"prices":{"input_mtok":0.059,"output_mtok":0.059}},{"id":"mistralai/mistral-nemo","match":{"equals":"mistralai/mistral-nemo"},"prices":{"input_mtok":0.17,"output_mtok":0.17}},{"id":"nousresearch/hermes-2-pro-llama-3-8b","match":{"equals":"nousresearch/hermes-2-pro-llama-3-8b"},"prices":{"input_mtok":0.14,"output_mtok":0.14}},{"id":"nousresearch/nous-hermes-llama2-13b","match":{"equals":"nousresearch/nous-hermes-llama2-13b"},"prices":{"input_mtok":0.17,"output_mtok":0.17}},{"id":"openchat/openchat-7b","match":{"equals":"openchat/openchat-7b"},"prices":{"input_mtok":0.06,"output_mtok":0.06}},{"id":"qwen/qwen-2-7b-instruct","match":{"equals":"qwen/qwen-2-7b-instruct"},"prices":{"input_mtok":0.054,"output_mtok":0.054}},{"id":"qwen/qwen-2-vl-72b-instruct","match":{"equals":"qwen/qwen-2-vl-72b-instruct"},"prices":{"input_mtok":0.45,"output_mtok":0.45}},{"id":"qwen/qwen-2.5-72b-instruct","match":{"equals":"qwen/qwen-2.5-72b-instruct"},"prices":{"input_mtok":0.38,"output_mtok":0.4}},{"id":"sao10k/l3-70b-euryale-v2.1","match":{"equals":"sao10k/l3-70b-euryale-v2.1"},"prices":{"input_mtok":1.48,"output_mtok":1.48}},{"id":"sao10k/l3-8b-lunaris","match":{"equals":"sao10k/l3-8b-lunaris"},"prices":{"input_mtok":0.05,"output_mtok":0.05}},{"id":"sao10k/l31-70b-euryale-v2.2","match":{"equals":"sao10k/l31-70b-euryale-v2.2"},"prices":{"input_mtok":1.48,"output_mtok":1.48}},{"id":"sophosympatheia/midnight-rose-70b","match":{"equals":"sophosympatheia/midnight-rose-70b"},"prices":{"input_mtok":0.8,"output_mtok":0.8}},{"id":"teknium/openhermes-2.5-mistral-7b","match":{"equals":"teknium/openhermes-2.5-mistral-7b"},"prices":{"input_mtok":0.17,"output_mtok":0.17}}]},{"id":"openai","name":"OpenAI","pricing_urls":["https://developers.openai.com/api/docs/pricing","https://developers.openai.com/api/docs/guides/prompt-caching","https://platform.openai.com/docs/pricing","https://openai.com/api/pricing/","https://platform.openai.com/docs/models","https://help.openai.com/en/articles/7127956-how-much-does-gpt-4-cost"],"api_pattern":"https://api\\.openai\\.com","model_match":{"or":[{"starts_with":"gpt-"},{"regex":"^o[134]"}]},"provider_match":{"contains":"openai"},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","cache_write_tokens"],"dest":"cache_write_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]},{"api_flavor":"responses","root":"usage","model_path":"model","mappings":[{"path":"input_tokens","dest":"input_tokens","required":true},{"path":["input_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["input_tokens_details","cache_write_tokens"],"dest":"cache_write_tokens","required":false},{"path":"output_tokens","dest":"output_tokens","required":true}]},{"api_flavor":"embeddings","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true}]}],"models":[{"id":"ada","match":{"or":[{"equals":"ada"},{"equals":"text-ada-001"}]},"prices":{"input_mtok":0.4,"output_mtok":0.4}},{"id":"babbage","match":{"equals":"babbage"},"prices":{"input_mtok":0.5,"output_mtok":0.5}},{"id":"chatgpt-4o-latest","match":{"equals":"chatgpt-4o-latest"},"prices":{"input_mtok":5,"output_mtok":15}},{"id":"codex-mini","match":{"or":[{"equals":"codex-mini"},{"equals":"codex-mini-latest"}]},"prices":{"input_mtok":1.5,"cache_read_mtok":0.375,"output_mtok":6}},{"id":"computer-use","match":{"starts_with":"computer-use"},"prices":{"input_mtok":3,"output_mtok":12}},{"id":"curie","match":{"or":[{"equals":"curie"},{"equals":"text-curie-001"}]},"prices":{"input_mtok":2,"output_mtok":2}},{"id":"davinci","match":{"or":[{"equals":"davinci"},{"equals":"text-davinci-001"}]},"prices":{"input_mtok":20,"output_mtok":20}},{"id":"ft:gpt-3.5-turbo-","match":{"starts_with":"ft:gpt-3.5-turbo"},"prices":{"input_mtok":3,"output_mtok":6}},{"id":"ft:gpt-4o","match":{"starts_with":"ft:gpt-4o-2024-"},"prices":{"input_mtok":3.75,"output_mtok":15}},{"id":"ft:gpt-4o-mini","match":{"starts_with":"ft:gpt-4o-mini-2024-"},"prices":{"input_mtok":0.3,"output_mtok":1.2}},{"id":"gpt-3.5-0301","match":{"or":[{"equals":"gpt-3.5-turbo-0301"},{"equals":"gpt-3.5-0301"}]},"prices":{"input_mtok":1.5,"output_mtok":2}},{"id":"gpt-3.5-turbo","match":{"or":[{"equals":"gpt-3.5-turbo"},{"equals":"gpt-35-turbo"},{"equals":"gpt-3.5-turbo-0125"}]},"context_window":16385,"prices":{"input_mtok":0.5,"output_mtok":1.5}},{"id":"gpt-3.5-turbo-0613","match":{"equals":"gpt-3.5-turbo-0613"},"context_window":16385,"prices":{"input_mtok":1.5,"output_mtok":2}},{"id":"gpt-3.5-turbo-1106","match":{"equals":"gpt-3.5-turbo-1106"},"context_window":16385,"prices":{"input_mtok":1,"output_mtok":2}},{"id":"gpt-3.5-turbo-16k","match":{"or":[{"equals":"gpt-3.5-turbo-16k"},{"equals":"gpt-3.5-turbo-16k-0613"},{"equals":"gpt-35-turbo-16k-0613"},{"equals":"gpt-35-turbo-16k"}]},"context_window":16385,"prices":{"input_mtok":3,"output_mtok":4}},{"id":"gpt-3.5-turbo-instruct","match":{"or":[{"starts_with":"gpt-3.5-turbo-instruct"},{"equals":"gpt-3.5-turbo-instruct-0914"}]},"context_window":16385,"prices":{"input_mtok":1.5,"output_mtok":2}},{"id":"gpt-4","match":{"or":[{"equals":"gpt-4"},{"equals":"gpt-4-0314"},{"equals":"gpt-4-0613"},{"starts_with":"ft:gpt-4-0"}]},"context_window":8192,"prices":{"input_mtok":30,"output_mtok":60}},{"id":"gpt-4-32k","match":{"or":[{"equals":"gpt-4-32k"},{"equals":"gpt-4-32k-0314"},{"equals":"gpt-4-32k-0613"}]},"context_window":32000,"prices":{"input_mtok":60,"output_mtok":120}},{"id":"gpt-4-turbo","match":{"or":[{"equals":"gpt-4-turbo"},{"equals":"gpt-4-turbo-2024-04-09"},{"equals":"gpt-4-turbo-0125-preview"},{"equals":"gpt-4-0125-preview"},{"equals":"gpt-4-1106-preview"},{"equals":"gpt-4-turbo-preview"}]},"context_window":128000,"prices":{"input_mtok":10,"output_mtok":30}},{"id":"gpt-4-vision-preview","match":{"or":[{"equals":"gpt-4-vision-preview"},{"equals":"gpt-4-1106-vision-preview"}]},"context_window":128000,"prices":{"input_mtok":10,"output_mtok":30}},{"id":"gpt-4.1","match":{"or":[{"equals":"gpt-4.1"},{"equals":"gpt-4.1-2025-04-14"}]},"context_window":1000000,"prices":{"input_mtok":2,"cache_read_mtok":0.5,"output_mtok":8}},{"id":"gpt-4.1-mini","match":{"or":[{"equals":"gpt-4.1-mini"},{"equals":"gpt-4.1-mini-2025-04-14"}]},"context_window":1000000,"prices":{"input_mtok":0.4,"cache_read_mtok":0.1,"output_mtok":1.6}},{"id":"gpt-4.1-nano","match":{"or":[{"equals":"gpt-4.1-nano"},{"equals":"gpt-4.1-nano-2025-04-14"}]},"context_window":1000000,"prices":{"input_mtok":0.1,"cache_read_mtok":0.025,"output_mtok":0.4}},{"id":"gpt-4.5-preview","match":{"starts_with":"gpt-4.5-preview"},"prices":{"input_mtok":75,"cache_read_mtok":37.5,"output_mtok":150}},{"id":"gpt-4o","match":{"or":[{"equals":"gpt-4o"},{"equals":"gpt-4o-2024-05-13"},{"equals":"gpt-4o-2024-08-06"},{"equals":"gpt-4o-2024-11-20"}]},"context_window":128000,"prices":{"input_mtok":2.5,"cache_read_mtok":1.25,"output_mtok":10}},{"id":"gpt-4o-audio-preview","match":{"starts_with":"gpt-4o-audio-preview"},"context_window":128000,"prices":{"input_mtok":2.5,"output_mtok":10,"input_audio_mtok":2.5}},{"id":"gpt-4o-mini","match":{"or":[{"equals":"gpt-4o-mini"},{"equals":"gpt-4o-mini-2024-07-18"},{"equals":"gpt-4o-mini-search-preview"},{"equals":"gpt-4o-mini-search-preview-2025-03-11"}]},"context_window":128000,"prices":{"input_mtok":0.15,"cache_read_mtok":0.075,"output_mtok":0.6}},{"id":"gpt-4o-mini-2024-07-18.ft-","match":{"starts_with":"gpt-4o-mini-2024-07-18.ft-"},"prices":{"input_mtok":0.3,"output_mtok":1.2}},{"id":"gpt-4o-mini-audio-preview","match":{"starts_with":"gpt-4o-mini-audio"},"prices":{"input_mtok":0.15,"output_mtok":0.6,"input_audio_mtok":0.15}},{"id":"gpt-4o-mini-realtime-preview","match":{"starts_with":"gpt-4o-mini-realtime"},"prices":{"input_mtok":0.6,"cache_read_mtok":0.3,"output_mtok":2.4,"input_audio_mtok":10,"cache_audio_read_mtok":0.3,"output_audio_mtok":20}},{"id":"gpt-4o-mini-transcribe","match":{"equals":"gpt-4o-mini-transcribe"},"prices":{"input_mtok":1.25,"output_mtok":5,"input_audio_mtok":3}},{"id":"gpt-4o-mini-tts","match":{"equals":"gpt-4o-mini-tts"},"prices":{"input_mtok":0.6,"output_mtok":12,"output_audio_mtok":12}},{"id":"gpt-4o-realtime-preview","match":{"starts_with":"gpt-4o-realtime"},"prices":{"input_mtok":5,"cache_read_mtok":2.5,"output_mtok":20,"input_audio_mtok":40,"cache_audio_read_mtok":2.5,"output_audio_mtok":80}},{"id":"gpt-4o-search-preview","match":{"or":[{"equals":"gpt-4o-search-preview"},{"equals":"gpt-4o-search-preview-2025-03-11"}]},"prices":{"input_mtok":2.5,"output_mtok":10}},{"id":"gpt-4o-transcribe","match":{"or":[{"equals":"gpt-4o-transcribe"},{"equals":"gpt-4o-transcribe-diarize"}]},"prices":{"input_mtok":2.5,"output_mtok":10,"input_audio_mtok":6}},{"id":"gpt-4o:extended","match":{"equals":"gpt-4o:extended"},"prices":{"input_mtok":6,"output_mtok":18}},{"id":"gpt-5","match":{"or":[{"equals":"gpt-5"},{"equals":"gpt-5-2025-08-07"},{"equals":"gpt-5-chat"},{"equals":"gpt-5-chat-latest"},{"equals":"gpt-5-codex"}]},"context_window":400000,"prices":{"input_mtok":1.25,"cache_read_mtok":0.125,"output_mtok":10}},{"id":"gpt-5-image","match":{"equals":"gpt-5-image"},"prices":{"input_mtok":10,"cache_read_mtok":1.25,"output_mtok":10}},{"id":"gpt-5-image-mini","match":{"equals":"gpt-5-image-mini"},"prices":{"input_mtok":2.5,"cache_read_mtok":0.25,"output_mtok":2}},{"id":"gpt-5-mini","match":{"or":[{"equals":"gpt-5-mini"},{"equals":"gpt-5-mini-2025-08-07"}]},"context_window":400000,"prices":{"input_mtok":0.25,"cache_read_mtok":0.025,"output_mtok":2}},{"id":"gpt-5-nano","match":{"or":[{"equals":"gpt-5-nano"},{"starts_with":"gpt-5-nano-"}]},"context_window":400000,"prices":{"input_mtok":0.05,"cache_read_mtok":0.005,"output_mtok":0.4}},{"id":"gpt-5-pro","match":{"or":[{"equals":"gpt-5-pro"},{"equals":"gpt-5-pro-2025-10-06"}]},"context_window":400000,"prices":{"input_mtok":15,"output_mtok":120}},{"id":"gpt-5.1","match":{"or":[{"equals":"gpt-5.1"},{"equals":"gpt-5.1-2025-11-13"},{"equals":"gpt-5.1-codex"},{"equals":"gpt-5.1-codex-max"},{"equals":"gpt-5.1-chat"},{"equals":"gpt-5.1-chat-latest"},{"equals":"gpt-5-1"},{"equals":"gpt-5-1-2025-11-13"},{"equals":"gpt-5-1-codex"},{"equals":"gpt-5-1-codex-max"},{"equals":"gpt-5-1-chat"},{"equals":"gpt-5-1-chat-latest"}]},"context_window":400000,"prices":{"input_mtok":1.25,"cache_read_mtok":0.125,"output_mtok":10}},{"id":"gpt-5.1-codex-mini","match":{"or":[{"equals":"gpt-5.1-codex-mini"},{"equals":"gpt-5.1-mini"},{"equals":"gpt-5-1-codex-mini"},{"equals":"gpt-5-1-mini"}]},"context_window":400000,"prices":{"input_mtok":0.25,"cache_read_mtok":0.025,"output_mtok":2}},{"id":"gpt-5.2","match":{"or":[{"equals":"gpt-5.2"},{"equals":"gpt-5.2-2025-12-11"},{"equals":"gpt-5-2"},{"equals":"gpt-5-2-2025-12-11"},{"equals":"gpt-5.2-chat"},{"equals":"gpt-5.2-chat-latest"},{"equals":"gpt-5-2-chat"},{"equals":"gpt-5-2-chat-latest"},{"equals":"gpt-5.2-codex"},{"equals":"gpt-5-2-codex"}]},"context_window":400000,"prices":{"input_mtok":1.75,"cache_read_mtok":0.175,"output_mtok":14}},{"id":"gpt-5.2-pro","match":{"or":[{"equals":"gpt-5.2-pro"},{"equals":"gpt-5.2-pro-2025-12-11"},{"equals":"gpt-5-2-pro-2025-12-11"}]},"context_window":400000,"prices":{"input_mtok":21,"output_mtok":168}},{"id":"gpt-5.3","match":{"or":[{"equals":"gpt-5.3"},{"equals":"gpt-5-3"},{"equals":"gpt-5.3-chat"},{"equals":"gpt-5.3-chat-latest"},{"equals":"gpt-5-3-chat"},{"equals":"gpt-5-3-chat-latest"}]},"context_window":128000,"prices":{"input_mtok":1.75,"cache_read_mtok":0.175,"output_mtok":14}},{"id":"gpt-5.3-codex","match":{"or":[{"equals":"gpt-5.3-codex"},{"equals":"gpt-5-3-codex"}]},"context_window":400000,"prices":{"input_mtok":1.75,"cache_read_mtok":0.175,"output_mtok":14}},{"id":"gpt-5.4","match":{"or":[{"equals":"gpt-5.4"},{"equals":"gpt-5.4-2026-03-05"},{"equals":"gpt-5-4"},{"equals":"gpt-5-4-2026-03-05"}]},"context_window":1050000,"prices":{"input_mtok":{"base":2.5,"tiers":[{"start":272000,"price":5}]},"cache_read_mtok":{"base":0.25,"tiers":[{"start":272000,"price":0.5}]},"output_mtok":{"base":15,"tiers":[{"start":272000,"price":22.5}]}}},{"id":"gpt-5.4-image-2","match":{"equals":"gpt-5.4-image-2"},"prices":{"input_mtok":8,"cache_read_mtok":2,"output_mtok":15}},{"id":"gpt-5.4-mini","match":{"or":[{"equals":"gpt-5.4-mini"},{"equals":"gpt-5.4-mini-2026-03-17"},{"equals":"gpt-5-4-mini"},{"equals":"gpt-5-4-mini-2026-03-17"}]},"context_window":400000,"prices":{"input_mtok":0.75,"cache_read_mtok":0.075,"output_mtok":4.5}},{"id":"gpt-5.4-nano","match":{"or":[{"equals":"gpt-5.4-nano"},{"equals":"gpt-5.4-nano-2026-03-17"},{"equals":"gpt-5-4-nano"},{"equals":"gpt-5-4-nano-2026-03-17"}]},"context_window":400000,"prices":{"input_mtok":0.2,"cache_read_mtok":0.02,"output_mtok":1.25}},{"id":"gpt-5.4-pro","match":{"or":[{"equals":"gpt-5.4-pro"},{"equals":"gpt-5.4-pro-2026-03-05"},{"equals":"gpt-5-4-pro"},{"equals":"gpt-5-4-pro-2026-03-05"}]},"context_window":1050000,"prices":{"input_mtok":{"base":30,"tiers":[{"start":272000,"price":60}]},"output_mtok":{"base":180,"tiers":[{"start":272000,"price":270}]}}},{"id":"gpt-5.5","match":{"or":[{"equals":"gpt-5.5"},{"equals":"gpt-5.5-2026-04-23"},{"equals":"gpt-5.5-2026-04-24"},{"equals":"gpt-5-5"},{"equals":"gpt-5-5-2026-04-23"},{"equals":"gpt-5-5-2026-04-24"},{"equals":"gpt-5.5-chat"},{"equals":"gpt-5.5-chat-latest"},{"equals":"gpt-5-5-chat"},{"equals":"gpt-5-5-chat-latest"},{"equals":"gpt-5.5-codex"},{"equals":"gpt-5-5-codex"}]},"context_window":1000000,"prices":{"input_mtok":5,"cache_read_mtok":0.5,"output_mtok":30}},{"id":"gpt-5.5-pro","match":{"or":[{"equals":"gpt-5.5-pro"},{"equals":"gpt-5.5-pro-2026-04-23"},{"equals":"gpt-5-5-pro"},{"equals":"gpt-5-5-pro-2026-04-23"}]},"context_window":1000000,"prices":{"input_mtok":30,"output_mtok":180}},{"id":"gpt-5.6-luna","match":{"or":[{"equals":"gpt-5.6-luna"},{"equals":"gpt-5-6-luna"}]},"context_window":1050000,"prices":{"input_mtok":{"base":1,"tiers":[{"start":272000,"price":2}]},"cache_write_mtok":{"base":1.25,"tiers":[{"start":272000,"price":2.5}]},"cache_read_mtok":{"base":0.1,"tiers":[{"start":272000,"price":0.2}]},"output_mtok":{"base":6,"tiers":[{"start":272000,"price":9}]}}},{"id":"gpt-5.6-sol","match":{"or":[{"equals":"gpt-5.6-sol"},{"equals":"gpt-5-6-sol"},{"equals":"gpt-5.6"},{"equals":"gpt-5-6"}]},"context_window":1050000,"prices":{"input_mtok":{"base":5,"tiers":[{"start":272000,"price":10}]},"cache_write_mtok":{"base":6.25,"tiers":[{"start":272000,"price":12.5}]},"cache_read_mtok":{"base":0.5,"tiers":[{"start":272000,"price":1}]},"output_mtok":{"base":30,"tiers":[{"start":272000,"price":45}]}}},{"id":"gpt-5.6-terra","match":{"or":[{"equals":"gpt-5.6-terra"},{"equals":"gpt-5-6-terra"}]},"context_window":1050000,"prices":{"input_mtok":{"base":2.5,"tiers":[{"start":272000,"price":5}]},"cache_write_mtok":{"base":3.125,"tiers":[{"start":272000,"price":6.25}]},"cache_read_mtok":{"base":0.25,"tiers":[{"start":272000,"price":0.5}]},"output_mtok":{"base":15,"tiers":[{"start":272000,"price":22.5}]}}},{"id":"gpt-audio","match":{"or":[{"equals":"gpt-audio"},{"equals":"gpt-audio-2025-08-28"},{"equals":"gpt-audio-1.5"}]},"prices":{"input_mtok":2.5,"output_mtok":10,"input_audio_mtok":32,"output_audio_mtok":64}},{"id":"gpt-audio-mini","match":{"or":[{"equals":"gpt-audio-mini"},{"equals":"gpt-audio-mini-2025-10-06"},{"equals":"gpt-audio-mini-2025-12-15"}]},"prices":{"input_mtok":0.6,"output_mtok":2.4,"input_audio_mtok":10,"output_audio_mtok":20}},{"id":"gpt-chat-latest","match":{"equals":"gpt-chat-latest"},"prices":{"input_mtok":5,"cache_read_mtok":0.5,"output_mtok":30}},{"id":"gpt-image-1-mini","match":{"or":[{"equals":"gpt-image-1-mini"}]},"prices":{"input_mtok":2,"cache_read_mtok":0.2}},{"id":"gpt-image-1.5","match":{"or":[{"equals":"gpt-image-1.5"},{"equals":"gpt-image-1.5-2025-12-16"}]},"prices":{"input_mtok":5,"cache_read_mtok":1.25,"output_mtok":10}},{"id":"gpt-image-2","match":{"or":[{"equals":"gpt-image-2"},{"equals":"gpt-image-2-2026-04-21"}]},"prices":{"input_mtok":5,"cache_read_mtok":1.25}},{"id":"gpt-oss-120b","match":{"equals":"gpt-oss-120b"},"prices":{"input_mtok":0.039,"output_mtok":0.18}},{"id":"gpt-oss-20b","match":{"equals":"gpt-oss-20b"},"prices":{"input_mtok":0.029,"output_mtok":0.14}},{"id":"gpt-oss-safeguard-20b","match":{"equals":"gpt-oss-safeguard-20b"},"prices":{"input_mtok":0.075,"cache_read_mtok":0.037,"output_mtok":0.3}},{"id":"gpt-realtime","match":{"or":[{"equals":"gpt-realtime"},{"equals":"gpt-realtime-2025-08-28"},{"equals":"gpt-realtime-1.5"}]},"prices":{"input_mtok":4,"cache_read_mtok":0.4,"output_mtok":16,"input_audio_mtok":32,"cache_audio_read_mtok":0.4,"output_audio_mtok":64}},{"id":"gpt-realtime-2","match":{"or":[{"equals":"gpt-realtime-2"}]},"prices":{"input_mtok":4,"cache_read_mtok":0.4,"output_mtok":24,"input_audio_mtok":32,"cache_audio_read_mtok":0.4,"output_audio_mtok":64}},{"id":"gpt-realtime-mini","match":{"or":[{"equals":"gpt-realtime-mini"},{"equals":"gpt-realtime-mini-2025-12-15"},{"equals":"gpt-realtime-mini-2025-10-06"}]},"prices":{"input_mtok":0.6,"cache_read_mtok":0.06,"output_mtok":2.4,"input_audio_mtok":10,"cache_audio_read_mtok":0.3,"output_audio_mtok":20}},{"id":"o1","match":{"or":[{"equals":"o1"},{"equals":"o1-2024-12-17"},{"equals":"o1-preview"},{"equals":"o1-preview-2024-09-12"}]},"context_window":128000,"prices":{"input_mtok":15,"cache_read_mtok":7.5,"output_mtok":60}},{"id":"o1-mini","match":{"or":[{"equals":"o1-mini"},{"equals":"o1-mini-2024-09-12"}]},"context_window":128000,"prices":{"input_mtok":1.1,"cache_read_mtok":0.55,"output_mtok":4.4}},{"id":"o1-pro","match":{"or":[{"equals":"o1-pro"},{"equals":"o1-pro-2025-03-19"}]},"prices":{"input_mtok":150,"output_mtok":600}},{"id":"o3","match":{"or":[{"equals":"o3"},{"equals":"o3-2025-04-16"}]},"prices":[{"prices":{"input_mtok":10,"cache_read_mtok":0.5,"output_mtok":40}},{"constraint":{"start_date":"2025-06-10"},"prices":{"input_mtok":2,"cache_read_mtok":0.5,"output_mtok":8}}]},{"id":"o3-deep-research","match":{"or":[{"equals":"o3-deep-research"},{"equals":"o3-deep-research-2025-06-26"}]},"prices":{"input_mtok":10,"cache_read_mtok":2.5,"output_mtok":40}},{"id":"o3-mini","match":{"or":[{"equals":"o3-mini"},{"equals":"o3-mini-2025-01-31"},{"equals":"o3-mini-high"}]},"prices":{"input_mtok":1.1,"cache_read_mtok":0.55,"output_mtok":4.4}},{"id":"o3-pro","match":{"or":[{"equals":"o3-pro"},{"equals":"o3-pro-2025-06-10"}]},"prices":{"input_mtok":20,"output_mtok":80}},{"id":"o4-mini","match":{"or":[{"equals":"o4-mini-2025-04-16"},{"equals":"o4-mini-high"},{"equals":"o4-mini"}]},"prices":{"input_mtok":1.1,"cache_read_mtok":0.275,"output_mtok":4.4}},{"id":"o4-mini-deep-research","match":{"or":[{"equals":"o4-mini-deep-research"},{"equals":"o4-mini-deep-research-2025-06-26"}]},"prices":{"input_mtok":2,"cache_read_mtok":0.5,"output_mtok":8}},{"id":"text-davinci-002","match":{"equals":"text-davinci-002"},"prices":{"input_mtok":20,"output_mtok":20}},{"id":"text-davinci-003","match":{"equals":"text-davinci-003"},"prices":{"input_mtok":20,"output_mtok":20}},{"id":"text-embedding-3-large","match":{"equals":"text-embedding-3-large"},"context_window":8192,"prices":{"input_mtok":0.13}},{"id":"text-embedding-3-small","match":{"equals":"text-embedding-3-small"},"context_window":8192,"prices":{"input_mtok":0.02}},{"id":"text-embedding-ada-002","match":{"or":[{"equals":"text-embedding-ada"},{"equals":"text-embedding-ada-002"},{"equals":"text-embedding-ada-002-v2"}]},"context_window":8192,"prices":{"input_mtok":0.1}}]},{"id":"openrouter","name":"OpenRouter","pricing_urls":["https://openrouter.ai/models"],"api_pattern":"https://(api\\.)?openrouter\\.ai","extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","cache_write_tokens"],"dest":"cache_write_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"01-ai/yi-large","match":{"equals":"01-ai/yi-large"},"prices":{"input_mtok":3,"output_mtok":3}},{"id":"aetherwiing/mn-starcannon-12b","match":{"equals":"aetherwiing/mn-starcannon-12b"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"ai21/jamba-1-5-large","match":{"equals":"ai21/jamba-1-5-large"},"prices":{"input_mtok":2,"output_mtok":8}},{"id":"ai21/jamba-1-5-mini","match":{"equals":"ai21/jamba-1-5-mini"},"prices":{"input_mtok":0.2,"output_mtok":0.4}},{"id":"ai21/jamba-1.6-large","match":{"equals":"ai21/jamba-1.6-large"},"prices":{"input_mtok":2,"output_mtok":8}},{"id":"ai21/jamba-1.6-mini","match":{"equals":"ai21/jamba-1.6-mini"},"prices":{"input_mtok":0.2,"output_mtok":0.4}},{"id":"ai21/jamba-instruct","match":{"equals":"ai21/jamba-instruct"},"prices":{"input_mtok":0.5,"output_mtok":0.7}},{"id":"ai21/jamba-large-1.7","match":{"equals":"ai21/jamba-large-1.7"},"prices":{"input_mtok":2,"output_mtok":8}},{"id":"aion-labs/aion-1.0","match":{"equals":"aion-labs/aion-1.0"},"prices":{"input_mtok":4,"output_mtok":8}},{"id":"aion-labs/aion-1.0-mini","match":{"equals":"aion-labs/aion-1.0-mini"},"prices":{"input_mtok":0.7,"output_mtok":1.4}},{"id":"aion-labs/aion-2.0","match":{"equals":"aion-labs/aion-2.0"},"prices":{"input_mtok":0.8,"cache_read_mtok":0.2,"output_mtok":1.6}},{"id":"aion-labs/aion-rp-llama-3.1-8b","match":{"equals":"aion-labs/aion-rp-llama-3.1-8b"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"alfredpros/codellama-7b-instruct-solidity","match":{"equals":"alfredpros/codellama-7b-instruct-solidity"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"all-hands/openhands-lm-32b-v0.1","match":{"equals":"all-hands/openhands-lm-32b-v0.1"},"prices":{"input_mtok":2.6,"output_mtok":3.4}},{"id":"allenai/olmo-3-32b-think","match":{"equals":"allenai/olmo-3-32b-think"},"prices":{"input_mtok":0.15,"output_mtok":0.5}},{"id":"alpindale/goliath-120b","match":{"equals":"alpindale/goliath-120b"},"prices":{"input_mtok":6.5625,"output_mtok":9.375}},{"id":"alpindale/magnum-72b","match":{"equals":"alpindale/magnum-72b"},"prices":{"input_mtok":1.5,"output_mtok":2.25}},{"id":"amazon/nova-2-lite-v1","match":{"equals":"amazon/nova-2-lite-v1"},"prices":{"input_mtok":0.3,"output_mtok":2.5}},{"id":"amazon/nova-lite-v1","match":{"equals":"amazon/nova-lite-v1"},"prices":{"input_mtok":0.06,"output_mtok":0.24}},{"id":"amazon/nova-micro-v1","match":{"equals":"amazon/nova-micro-v1"},"prices":{"input_mtok":0.035,"output_mtok":0.14}},{"id":"amazon/nova-premier-v1","match":{"equals":"amazon/nova-premier-v1"},"prices":{"input_mtok":2.5,"cache_read_mtok":0.625,"output_mtok":12.5}},{"id":"amazon/nova-pro-v1","match":{"equals":"amazon/nova-pro-v1"},"prices":{"input_mtok":0.8,"output_mtok":3.2}},{"id":"anthracite-org/magnum-v2-72b","match":{"equals":"anthracite-org/magnum-v2-72b"},"prices":{"input_mtok":3,"output_mtok":3}},{"id":"anthracite-org/magnum-v4-72b","match":{"equals":"anthracite-org/magnum-v4-72b"},"prices":{"input_mtok":1.5,"output_mtok":2.25}},{"id":"anthropic/claude-2","match":{"or":[{"equals":"anthropic/claude-2"},{"equals":"anthropic/claude-2.0"},{"equals":"anthropic/claude-2.0:beta"},{"equals":"anthropic/claude-2.1"},{"equals":"anthropic/claude-2.1:beta"},{"equals":"anthropic/claude-2:beta"}]},"prices":{"input_mtok":8,"output_mtok":24}},{"id":"anthropic/claude-3-haiku","match":{"or":[{"equals":"anthropic/claude-3-haiku"},{"equals":"anthropic/claude-3-haiku:beta"}]},"prices":{"input_mtok":0.25,"output_mtok":1.25}},{"id":"anthropic/claude-3-opus","match":{"or":[{"equals":"anthropic/claude-3-opus"},{"equals":"anthropic/claude-3-opus:beta"}]},"prices":{"input_mtok":15,"output_mtok":75}},{"id":"anthropic/claude-3-sonnet","match":{"or":[{"equals":"anthropic/claude-3-sonnet"},{"equals":"anthropic/claude-3-sonnet:beta"}]},"prices":{"input_mtok":3,"output_mtok":15}},{"id":"anthropic/claude-3.5-haiku","match":{"or":[{"equals":"anthropic/claude-3.5-haiku"},{"equals":"anthropic/claude-3.5-haiku-20241022"},{"equals":"anthropic/claude-3.5-haiku-20241022:beta"},{"equals":"anthropic/claude-3.5-haiku:beta"}]},"prices":{"input_mtok":0.8,"output_mtok":4}},{"id":"anthropic/claude-3.5-sonnet","match":{"or":[{"equals":"anthropic/claude-3.5-sonnet"},{"equals":"anthropic/claude-3.5-sonnet-20240620"},{"equals":"anthropic/claude-3.5-sonnet-20240620:beta"},{"equals":"anthropic/claude-3.5-sonnet:beta"}]},"prices":{"input_mtok":3,"output_mtok":15}},{"id":"anthropic/claude-3.7-sonnet","match":{"or":[{"equals":"anthropic/claude-3.7-sonnet"},{"equals":"anthropic/claude-3.7-sonnet:beta"},{"equals":"anthropic/claude-3.7-sonnet:thinking"}]},"prices":{"input_mtok":3,"output_mtok":15}},{"id":"anthropic/claude-fable-5","match":{"or":[{"equals":"anthropic/claude-fable-5"},{"equals":"anthropic/claude-fable-5:beta"}]},"context_window":1000000,"prices":{"input_mtok":10,"cache_write_mtok":12.5,"cache_read_mtok":1,"output_mtok":50}},{"id":"anthropic/claude-haiku-4.5","match":{"or":[{"equals":"anthropic/claude-haiku-4.5"},{"equals":"anthropic/claude-4.5-haiku-20251001"},{"equals":"anthropic/claude-4.5-haiku-20251001:beta"},{"equals":"anthropic/claude-haiku-4.5-20251001"},{"equals":"anthropic/claude-haiku-4.5-20251001:beta"},{"equals":"anthropic/claude-haiku-4.5:beta"}]},"prices":{"input_mtok":1,"cache_write_mtok":1.25,"cache_read_mtok":0.1,"output_mtok":5}},{"id":"anthropic/claude-opus-4","match":{"or":[{"equals":"anthropic/claude-opus-4"},{"equals":"anthropic/claude-opus-4.1"}]},"prices":{"input_mtok":15,"cache_write_mtok":18.75,"cache_read_mtok":1.5,"output_mtok":75}},{"id":"anthropic/claude-opus-4.5","match":{"or":[{"equals":"anthropic/claude-opus-4.5"},{"equals":"anthropic/claude-4.5-opus-20251124"},{"equals":"anthropic/claude-4.5-opus-20251124:beta"},{"equals":"anthropic/claude-opus-4.5-20251124"},{"equals":"anthropic/claude-opus-4.5-20251124:beta"},{"equals":"anthropic/claude-opus-4.5:beta"}]},"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"anthropic/claude-opus-4.6","match":{"or":[{"equals":"anthropic/claude-opus-4.6"},{"equals":"anthropic/claude-4.6-opus-20260205"},{"equals":"anthropic/claude-4.6-opus-20260205:beta"},{"equals":"anthropic/claude-opus-4.6-20260205"},{"equals":"anthropic/claude-opus-4.6-20260205:beta"},{"equals":"anthropic/claude-opus-4.6:beta"}]},"context_window":1000000,"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"anthropic/claude-opus-4.6-fast","match":{"equals":"anthropic/claude-opus-4.6-fast"},"prices":{"input_mtok":30,"cache_write_mtok":37.5,"cache_read_mtok":3,"output_mtok":150}},{"id":"anthropic/claude-opus-4.7","match":{"or":[{"equals":"anthropic/claude-opus-4.7"},{"equals":"anthropic/claude-opus-4.7:beta"}]},"context_window":1000000,"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"anthropic/claude-opus-4.7-fast","match":{"equals":"anthropic/claude-opus-4.7-fast"},"prices":{"input_mtok":30,"cache_write_mtok":37.5,"cache_read_mtok":3,"output_mtok":150}},{"id":"anthropic/claude-opus-4.8","match":{"or":[{"equals":"anthropic/claude-opus-4.8"},{"equals":"anthropic/claude-opus-4.8:beta"}]},"context_window":1000000,"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"anthropic/claude-opus-4.8-fast","match":{"equals":"anthropic/claude-opus-4.8-fast"},"prices":{"input_mtok":10,"cache_write_mtok":12.5,"cache_read_mtok":1,"output_mtok":50}},{"id":"anthropic/claude-opus-5","match":{"or":[{"equals":"anthropic/claude-opus-5"},{"equals":"anthropic/claude-opus-5:beta"}]},"context_window":1000000,"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"anthropic/claude-opus-5-fast","match":{"equals":"anthropic/claude-opus-5-fast"},"context_window":1000000,"prices":{"input_mtok":10,"cache_write_mtok":12.5,"cache_read_mtok":1,"output_mtok":50}},{"id":"anthropic/claude-sonnet-4","match":{"equals":"anthropic/claude-sonnet-4"},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"anthropic/claude-sonnet-4.5","match":{"or":[{"equals":"anthropic/claude-sonnet-4.5"},{"equals":"anthropic/claude-4.5-sonnet-20250929"},{"equals":"anthropic/claude-4.5-sonnet-20250929:beta"},{"equals":"anthropic/claude-sonnet-4.5-20250929"},{"equals":"anthropic/claude-sonnet-4.5-20250929:beta"},{"equals":"anthropic/claude-sonnet-4.5:beta"}]},"context_window":1000000,"prices":{"input_mtok":{"base":3,"tiers":[{"start":200000,"price":6}]},"cache_write_mtok":{"base":3.75,"tiers":[{"start":200000,"price":7.5}]},"cache_read_mtok":{"base":0.3,"tiers":[{"start":200000,"price":0.6}]},"output_mtok":{"base":15,"tiers":[{"start":200000,"price":22.5}]}}},{"id":"anthropic/claude-sonnet-4.6","match":{"or":[{"equals":"anthropic/claude-sonnet-4.6"},{"equals":"anthropic/claude-4.6-sonnet-20260217"},{"equals":"anthropic/claude-4.6-sonnet-20260217:beta"},{"equals":"anthropic/claude-sonnet-4.6-20260217"},{"equals":"anthropic/claude-sonnet-4.6-20260217:beta"},{"equals":"anthropic/claude-sonnet-4.6:beta"}]},"context_window":1000000,"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"anthropic/claude-sonnet-5","match":{"or":[{"equals":"anthropic/claude-sonnet-5"},{"equals":"anthropic/claude-sonnet-5:beta"}]},"context_window":1000000,"prices":[{"prices":{"input_mtok":2,"cache_write_mtok":2.5,"cache_read_mtok":0.2,"output_mtok":10}},{"constraint":{"start_date":"2026-09-01"},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}}]},{"id":"anubis-pro-105b-v1","match":{"equals":"anubis-pro-105b-v1"},"prices":{"input_mtok":0.8,"output_mtok":1}},{"id":"arcee-ai/coder-large","match":{"equals":"arcee-ai/coder-large"},"prices":{"input_mtok":0.5,"output_mtok":0.8}},{"id":"arcee-ai/trinity-large-thinking","match":{"equals":"arcee-ai/trinity-large-thinking"},"prices":{"input_mtok":0.22,"cache_read_mtok":0.06,"output_mtok":0.85}},{"id":"arcee-ai/trinity-mini","match":{"equals":"arcee-ai/trinity-mini"},"prices":{"input_mtok":0.045,"output_mtok":0.15}},{"id":"arcee-ai/virtuoso-large","match":{"equals":"arcee-ai/virtuoso-large"},"prices":{"input_mtok":0.75,"output_mtok":1.2}},{"id":"arcee-blitz","match":{"equals":"arcee-blitz"},"prices":{"input_mtok":0.45,"output_mtok":0.75}},{"id":"baidu/ernie-4.5-vl-424b-a47b","match":{"equals":"baidu/ernie-4.5-vl-424b-a47b"},"prices":{"input_mtok":0.42,"output_mtok":1.25}},{"id":"bytedance-seed/seed-1.6","match":{"equals":"bytedance-seed/seed-1.6"},"prices":{"input_mtok":0.25,"output_mtok":2}},{"id":"bytedance-seed/seed-1.6-flash","match":{"equals":"bytedance-seed/seed-1.6-flash"},"prices":{"input_mtok":0.075,"output_mtok":0.3}},{"id":"bytedance-seed/seed-2.0-lite","match":{"equals":"bytedance-seed/seed-2.0-lite"},"prices":{"input_mtok":0.25,"output_mtok":2}},{"id":"bytedance-seed/seed-2.0-mini","match":{"equals":"bytedance-seed/seed-2.0-mini"},"prices":{"input_mtok":0.1,"output_mtok":0.4}},{"id":"bytedance/ui-tars-1.5-7b","match":{"equals":"bytedance/ui-tars-1.5-7b"},"prices":{"input_mtok":0.1,"cache_read_mtok":0.1,"output_mtok":0.2}},{"id":"caller-large","match":{"equals":"caller-large"},"prices":{"input_mtok":0.55,"output_mtok":0.85}},{"id":"chatgpt-4o-latest","match":{"equals":"chatgpt-4o-latest"},"prices":{"input_mtok":5,"output_mtok":15}},{"id":"claude-2","match":{"or":[{"equals":"claude-2"},{"equals":"claude-2.0"},{"equals":"claude-2.0:beta"},{"equals":"claude-2.1"},{"equals":"claude-2.1:beta"},{"equals":"claude-2:beta"}]},"prices":{"input_mtok":8,"output_mtok":24}},{"id":"claude-3-opus","match":{"or":[{"equals":"claude-3-opus"},{"equals":"claude-3-opus:beta"}]},"prices":{"input_mtok":15,"cache_write_mtok":18.75,"cache_read_mtok":1.5,"output_mtok":75}},{"id":"claude-3-sonnet","match":{"or":[{"equals":"claude-3-sonnet"},{"equals":"claude-3-sonnet:beta"}]},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"claude-3.5-sonnet","match":{"or":[{"equals":"claude-3.5-sonnet"},{"equals":"claude-3.5-sonnet-20240620"},{"equals":"claude-3.5-sonnet-20240620:beta"},{"equals":"claude-3.5-sonnet:beta"}]},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"claude-3.7-sonnet","match":{"or":[{"equals":"claude-3.7-sonnet"},{"equals":"claude-3.7-sonnet:beta"},{"equals":"claude-3.7-sonnet:thinking"}]},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"codellama-7b-instruct-solidity","match":{"equals":"codellama-7b-instruct-solidity"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"codestral-2501","match":{"equals":"codestral-2501"},"prices":{"input_mtok":0.3,"output_mtok":0.9}},{"id":"codex-mini","match":{"equals":"codex-mini"},"prices":{"input_mtok":1.5,"cache_read_mtok":0.375,"output_mtok":6}},{"id":"cognitivecomputations/dolphin-mixtral-8x22b","match":{"equals":"cognitivecomputations/dolphin-mixtral-8x22b"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"cognitivecomputations/dolphin-mixtral-8x7b","match":{"equals":"cognitivecomputations/dolphin-mixtral-8x7b"},"prices":{"input_mtok":0.5,"output_mtok":0.5}},{"id":"cohere/command","match":{"equals":"cohere/command"},"prices":{"input_mtok":1,"output_mtok":2}},{"id":"cohere/command-a","match":{"equals":"cohere/command-a"},"prices":{"input_mtok":2.5,"output_mtok":10}},{"id":"cohere/command-r","match":{"or":[{"equals":"cohere/command-r"},{"equals":"cohere/command-r-03-2024"}]},"prices":{"input_mtok":0.5,"output_mtok":1.5}},{"id":"cohere/command-r-08-2024","match":{"equals":"cohere/command-r-08-2024"},"prices":{"input_mtok":0.15,"output_mtok":0.6}},{"id":"cohere/command-r-plus","match":{"or":[{"equals":"cohere/command-r-plus"},{"equals":"cohere/command-r-plus-04-2024"}]},"prices":{"input_mtok":3,"output_mtok":15}},{"id":"cohere/command-r-plus-08-2024","match":{"equals":"cohere/command-r-plus-08-2024"},"prices":{"input_mtok":2.5,"output_mtok":10}},{"id":"cohere/command-r7b-12-2024","match":{"equals":"cohere/command-r7b-12-2024"},"prices":{"input_mtok":0.0375,"output_mtok":0.15}},{"id":"command","match":{"equals":"command"},"prices":{"input_mtok":1,"output_mtok":2}},{"id":"command-r","match":{"or":[{"equals":"command-r"},{"equals":"command-r-03-2024"}]},"prices":{"input_mtok":0.5,"output_mtok":1.5}},{"id":"command-r-plus","match":{"or":[{"equals":"command-r-plus"},{"equals":"command-r-plus-04-2024"}]},"prices":{"input_mtok":3,"output_mtok":15}},{"id":"deepcogito/cogito-v2.1-671b","match":{"equals":"deepcogito/cogito-v2.1-671b"},"prices":{"input_mtok":1.25,"output_mtok":1.25}},{"id":"deepseek-prover-v2","match":{"equals":"deepseek-prover-v2"},"prices":{"input_mtok":0.5,"output_mtok":2.18}},{"id":"deepseek-r1-0528-qwen3-8b","match":{"equals":"deepseek-r1-0528-qwen3-8b"},"prices":{"input_mtok":0.05,"output_mtok":0.1}},{"id":"deepseek-r1-distill-llama-8b","match":{"equals":"deepseek-r1-distill-llama-8b"},"prices":{"input_mtok":0.04,"output_mtok":0.04}},{"id":"deepseek-r1-distill-qwen-1.5b","match":{"equals":"deepseek-r1-distill-qwen-1.5b"},"prices":{"input_mtok":0.18,"output_mtok":0.18}},{"id":"deepseek-r1-distill-qwen-14b","match":{"equals":"deepseek-r1-distill-qwen-14b"},"prices":{"input_mtok":0.15,"output_mtok":0.15}},{"id":"deepseek-r1-distill-qwen-7b","match":{"equals":"deepseek-r1-distill-qwen-7b"},"prices":{"input_mtok":0.1,"output_mtok":0.2}},{"id":"deepseek/deepseek-chat","match":{"equals":"deepseek/deepseek-chat"},"prices":{"input_mtok":0.38,"output_mtok":0.89}},{"id":"deepseek/deepseek-chat-v3-0324","match":{"equals":"deepseek/deepseek-chat-v3-0324"},"prices":{"input_mtok":0.3,"output_mtok":0.88}},{"id":"deepseek/deepseek-chat-v3.1","match":{"equals":"deepseek/deepseek-chat-v3.1"},"prices":{"input_mtok":0.21,"cache_read_mtok":0.13,"output_mtok":0.79}},{"id":"deepseek/deepseek-r1","match":{"equals":"deepseek/deepseek-r1"},"prices":{"input_mtok":0.45,"output_mtok":2.15}},{"id":"deepseek/deepseek-r1-0528","match":{"equals":"deepseek/deepseek-r1-0528"},"prices":{"input_mtok":0.5,"output_mtok":2.15}},{"id":"deepseek/deepseek-r1-distill-llama-70b","match":{"equals":"deepseek/deepseek-r1-distill-llama-70b"},"prices":{"input_mtok":0.1,"output_mtok":0.4}},{"id":"deepseek/deepseek-r1-distill-llama-8b","match":{"equals":"deepseek/deepseek-r1-distill-llama-8b"},"prices":{"input_mtok":0.04,"output_mtok":0.04}},{"id":"deepseek/deepseek-r1-distill-qwen-1.5b","match":{"equals":"deepseek/deepseek-r1-distill-qwen-1.5b"},"prices":{"input_mtok":0.18,"output_mtok":0.18}},{"id":"deepseek/deepseek-r1-distill-qwen-14b","match":{"equals":"deepseek/deepseek-r1-distill-qwen-14b"},"prices":{"input_mtok":0.15,"output_mtok":0.15}},{"id":"deepseek/deepseek-r1-distill-qwen-32b","match":{"equals":"deepseek/deepseek-r1-distill-qwen-32b"},"prices":{"input_mtok":0.12,"output_mtok":0.18}},{"id":"deepseek/deepseek-v3.1-terminus","match":{"equals":"deepseek/deepseek-v3.1-terminus"},"context_window":163840,"prices":{"input_mtok":0.23,"output_mtok":0.9}},{"id":"deepseek/deepseek-v3.2","match":{"equals":"deepseek/deepseek-v3.2"},"prices":{"input_mtok":0.2288,"output_mtok":0.3432}},{"id":"deepseek/deepseek-v3.2-exp","match":{"equals":"deepseek/deepseek-v3.2-exp"},"prices":{"input_mtok":0.27,"output_mtok":0.41}},{"id":"deepseek/deepseek-v4-flash","match":{"equals":"deepseek/deepseek-v4-flash"},"prices":{"input_mtok":0.0983,"cache_read_mtok":0.0197,"output_mtok":0.1966}},{"id":"deepseek/deepseek-v4-pro","match":{"equals":"deepseek/deepseek-v4-pro"},"prices":{"input_mtok":0.435,"cache_read_mtok":0.003625,"output_mtok":0.87}},{"id":"devstral-small","match":{"equals":"devstral-small"},"prices":{"input_mtok":0.06,"output_mtok":0.12}},{"id":"dobby-mini-unhinged-plus-llama-3.1-8b","match":{"equals":"dobby-mini-unhinged-plus-llama-3.1-8b"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"dolphin-mixtral-8x22b","match":{"equals":"dolphin-mixtral-8x22b"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"eleutherai/llemma_7b","match":{"equals":"eleutherai/llemma_7b"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"essentialai/rnj-1-instruct","match":{"equals":"essentialai/rnj-1-instruct"},"prices":{"input_mtok":0.15,"output_mtok":0.15}},{"id":"eva-llama-3.33-70b","match":{"equals":"eva-llama-3.33-70b"},"prices":{"input_mtok":4,"output_mtok":6}},{"id":"eva-qwen-2.5-32b","match":{"equals":"eva-qwen-2.5-32b"},"prices":{"input_mtok":2.6,"output_mtok":3.4}},{"id":"eva-qwen-2.5-72b","match":{"equals":"eva-qwen-2.5-72b"},"prices":{"input_mtok":4,"output_mtok":6}},{"id":"eva-unit-01/eva-llama-3.33-70b","match":{"equals":"eva-unit-01/eva-llama-3.33-70b"},"prices":{"input_mtok":4,"output_mtok":6}},{"id":"eva-unit-01/eva-qwen-2.5-32b","match":{"equals":"eva-unit-01/eva-qwen-2.5-32b"},"prices":{"input_mtok":2.6,"output_mtok":3.4}},{"id":"eva-unit-01/eva-qwen-2.5-72b","match":{"equals":"eva-unit-01/eva-qwen-2.5-72b"},"prices":{"input_mtok":0.9,"output_mtok":1.2}},{"id":"fimbulvetr-11b-v2","match":{"equals":"fimbulvetr-11b-v2"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"gemini-2.0-flash-001","match":{"equals":"gemini-2.0-flash-001"},"prices":{"input_mtok":0.1,"cache_write_mtok":0.1833,"cache_read_mtok":0.025,"output_mtok":0.4}},{"id":"gemini-2.0-flash-lite-001","match":{"equals":"gemini-2.0-flash-lite-001"},"prices":{"input_mtok":0.075,"output_mtok":0.3}},{"id":"gemini-2.5-flash-lite-preview-06-17","match":{"equals":"gemini-2.5-flash-lite-preview-06-17"},"prices":{"input_mtok":0.1,"output_mtok":0.4}},{"id":"gemini-2.5-flash-preview","match":{"or":[{"equals":"gemini-2.5-flash-preview"},{"equals":"gemini-2.5-flash-preview-05-20"}]},"prices":{"input_mtok":0.15,"cache_write_mtok":0.2333,"cache_read_mtok":0.0375,"output_mtok":0.6}},{"id":"gemini-2.5-flash-preview-05-20:thinking","match":{"equals":"gemini-2.5-flash-preview-05-20:thinking"},"prices":{"input_mtok":0.15,"cache_write_mtok":0.2333,"cache_read_mtok":0.0375,"output_mtok":3.5}},{"id":"gemini-2.5-flash-preview:thinking","match":{"equals":"gemini-2.5-flash-preview:thinking"},"prices":{"input_mtok":0.15,"cache_write_mtok":0.2333,"cache_read_mtok":0.0375,"output_mtok":3.5}},{"id":"gemini-flash-1.5","match":{"equals":"gemini-flash-1.5"},"prices":{"input_mtok":0.075,"cache_write_mtok":0.1583,"cache_read_mtok":0.01875,"output_mtok":0.3}},{"id":"gemini-flash-1.5-8b","match":{"equals":"gemini-flash-1.5-8b"},"prices":{"input_mtok":0.0375,"cache_write_mtok":0.0583,"cache_read_mtok":0.01,"output_mtok":0.15}},{"id":"gemini-pro-1.5","match":{"equals":"gemini-pro-1.5"},"prices":{"input_mtok":1.25,"output_mtok":5}},{"id":"gemma-2-9b-it","match":{"equals":"gemma-2-9b-it"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"glm-4-32b","match":{"equals":"glm-4-32b"},"prices":{"input_mtok":0.24,"output_mtok":0.24}},{"id":"glm-5v-turbo","match":{"equals":"glm-5v-turbo"},"prices":{"input_mtok":1.2,"cache_read_mtok":0.24,"output_mtok":4}},{"id":"glm-z1-32b","match":{"equals":"glm-z1-32b"},"prices":{"input_mtok":0.24,"output_mtok":0.24}},{"id":"glm-z1-rumination-32b","match":{"equals":"glm-z1-rumination-32b"},"prices":{"input_mtok":0.24,"output_mtok":0.24}},{"id":"goliath-120b","match":{"equals":"goliath-120b"},"prices":{"input_mtok":10,"output_mtok":12.5}},{"id":"google/gemini-2.0-flash-001","match":{"equals":"google/gemini-2.0-flash-001"},"prices":{"input_mtok":0.1,"output_mtok":0.4}},{"id":"google/gemini-2.0-flash-lite-001","match":{"equals":"google/gemini-2.0-flash-lite-001"},"prices":{"input_mtok":0.075,"output_mtok":0.3}},{"id":"google/gemini-2.5-flash","match":{"equals":"google/gemini-2.5-flash"},"prices":{"input_mtok":0.3,"cache_write_mtok":0.3833,"cache_read_mtok":0.075,"output_mtok":2.5}},{"id":"google/gemini-2.5-flash-image","match":{"equals":"google/gemini-2.5-flash-image"},"prices":{"input_mtok":0.3,"cache_write_mtok":0.08333333333333334,"cache_read_mtok":0.03,"output_mtok":2.5}},{"id":"google/gemini-2.5-flash-lite","match":{"equals":"google/gemini-2.5-flash-lite"},"prices":{"input_mtok":0.1,"cache_write_mtok":0.08333333333333334,"cache_read_mtok":0.01,"output_mtok":0.4}},{"id":"google/gemini-2.5-flash-lite-preview-09-2025","match":{"equals":"google/gemini-2.5-flash-lite-preview-09-2025"},"prices":{"input_mtok":0.1,"output_mtok":0.4}},{"id":"google/gemini-2.5-flash-preview","match":{"equals":"google/gemini-2.5-flash-preview"},"prices":{"input_mtok":0.15,"output_mtok":0.6}},{"id":"google/gemini-2.5-flash-preview-09-2025","match":{"equals":"google/gemini-2.5-flash-preview-09-2025"},"prices":{"input_mtok":0.3,"cache_write_mtok":0.383,"cache_read_mtok":0.075,"output_mtok":2.5}},{"id":"google/gemini-2.5-flash-preview:thinking","match":{"equals":"google/gemini-2.5-flash-preview:thinking"},"prices":{"input_mtok":0.15,"output_mtok":3.5}},{"id":"google/gemini-2.5-pro","match":{"or":[{"equals":"google/gemini-2.5-pro"},{"equals":"google/gemini-2.5-pro-preview"},{"equals":"google/gemini-2.5-pro-preview-05-06"}]},"prices":{"input_mtok":1.25,"cache_write_mtok":1.625,"cache_read_mtok":0.31,"output_mtok":10}},{"id":"google/gemini-2.5-pro-preview-03-25","match":{"equals":"google/gemini-2.5-pro-preview-03-25"},"prices":{"input_mtok":1.25,"output_mtok":10}},{"id":"google/gemini-3-flash-preview","match":{"equals":"google/gemini-3-flash-preview"},"prices":{"input_mtok":0.5,"cache_write_mtok":0.08333333333333334,"cache_read_mtok":0.05,"output_mtok":3}},{"id":"google/gemini-3-pro-image-preview","match":{"equals":"google/gemini-3-pro-image-preview"},"prices":{"input_mtok":2,"cache_write_mtok":0.375,"cache_read_mtok":0.2,"output_mtok":12}},{"id":"google/gemini-3.1-flash-image-preview","match":{"equals":"google/gemini-3.1-flash-image-preview"},"prices":{"input_mtok":0.5,"output_mtok":3}},{"id":"google/gemini-3.1-flash-lite","match":{"or":[{"equals":"google/gemini-3.1-flash-lite"},{"equals":"google/gemini-3.1-flash-lite-preview"}]},"prices":{"input_mtok":0.25,"cache_write_mtok":0.08333333333333334,"cache_read_mtok":0.025,"output_mtok":1.5}},{"id":"google/gemini-3.1-pro-preview","match":{"or":[{"equals":"google/gemini-3.1-pro-preview"},{"equals":"google/gemini-3.1-pro-preview-customtools"}]},"prices":{"input_mtok":2,"cache_write_mtok":0.375,"cache_read_mtok":0.2,"output_mtok":12}},{"id":"google/gemini-3.5-flash","match":{"or":[{"equals":"google/gemini-3.5-flash"},{"regex":"^google/gemini-3\\.5-flash-\\d{8}$"}]},"prices":{"input_mtok":1.5,"cache_write_mtok":0.08333333333333334,"cache_read_mtok":0.15,"output_mtok":9}},{"id":"google/gemini-flash-1.5","match":{"equals":"google/gemini-flash-1.5"},"prices":{"input_mtok":0.075,"output_mtok":0.3}},{"id":"google/gemini-flash-1.5-8b","match":{"equals":"google/gemini-flash-1.5-8b"},"prices":{"input_mtok":0.0375,"output_mtok":0.15}},{"id":"google/gemini-pro","match":{"or":[{"equals":"google/gemini-pro"},{"equals":"google/gemini-pro-vision"}]},"prices":{"input_mtok":0.5,"output_mtok":1.5}},{"id":"google/gemini-pro-1.5","match":{"equals":"google/gemini-pro-1.5"},"prices":{"input_mtok":1.25,"output_mtok":5}},{"id":"google/gemma-2-27b-it","match":{"equals":"google/gemma-2-27b-it"},"prices":{"input_mtok":0.8,"output_mtok":0.8}},{"id":"google/gemma-2-9b-it","match":{"equals":"google/gemma-2-9b-it"},"prices":{"input_mtok":0.07,"output_mtok":0.07}},{"id":"google/gemma-3-12b-it","match":{"equals":"google/gemma-3-12b-it"},"prices":{"input_mtok":0.05,"output_mtok":0.1}},{"id":"google/gemma-3-27b-it","match":{"equals":"google/gemma-3-27b-it"},"prices":{"input_mtok":0.1,"output_mtok":0.2}},{"id":"google/gemma-3-4b-it","match":{"equals":"google/gemma-3-4b-it"},"prices":{"input_mtok":0.02,"output_mtok":0.04}},{"id":"google/gemma-3n-e4b-it","match":{"equals":"google/gemma-3n-e4b-it"},"prices":{"input_mtok":0.06,"output_mtok":0.12}},{"id":"google/gemma-4-26b-a4b-it","match":{"equals":"google/gemma-4-26b-a4b-it"},"prices":{"input_mtok":0.06,"output_mtok":0.33}},{"id":"google/gemma-4-31b-it","match":{"equals":"google/gemma-4-31b-it"},"prices":{"input_mtok":0.12,"cache_read_mtok":0.09,"output_mtok":0.36}},{"id":"google/palm-2-chat-bison","match":{"or":[{"equals":"google/palm-2-chat-bison"},{"equals":"google/palm-2-chat-bison-32k"}]},"prices":{"input_mtok":1,"output_mtok":2}},{"id":"google/palm-2-codechat-bison","match":{"or":[{"equals":"google/palm-2-codechat-bison"},{"equals":"google/palm-2-codechat-bison-32k"}]},"prices":{"input_mtok":1,"output_mtok":2}},{"id":"gpt-3.5-turbo-1106","match":{"equals":"gpt-3.5-turbo-1106"},"prices":{"input_mtok":1,"output_mtok":2}},{"id":"gpt-4-1106-preview","match":{"equals":"gpt-4-1106-preview"},"prices":{"input_mtok":10,"output_mtok":30}},{"id":"gpt-4.5-preview","match":{"equals":"gpt-4.5-preview"},"prices":{"input_mtok":75,"cache_read_mtok":37.5,"output_mtok":150}},{"id":"gpt-4o:extended","match":{"equals":"gpt-4o:extended"},"prices":{"input_mtok":6,"output_mtok":18}},{"id":"grok-2-1212","match":{"equals":"grok-2-1212"},"prices":{"input_mtok":2,"output_mtok":10}},{"id":"grok-2-vision-1212","match":{"equals":"grok-2-vision-1212"},"prices":{"input_mtok":2,"output_mtok":10}},{"id":"grok-3","match":{"or":[{"equals":"grok-3"},{"equals":"grok-3-beta"}]},"prices":{"input_mtok":3,"cache_read_mtok":0.75,"output_mtok":15}},{"id":"grok-3-mini","match":{"or":[{"equals":"grok-3-mini"},{"equals":"grok-3-mini-beta"}]},"prices":{"input_mtok":0.3,"cache_read_mtok":0.075,"output_mtok":0.5}},{"id":"grok-beta","match":{"equals":"grok-beta"},"prices":{"input_mtok":5,"output_mtok":15}},{"id":"grok-vision-beta","match":{"equals":"grok-vision-beta"},"prices":{"input_mtok":5,"output_mtok":15}},{"id":"gryphe/mythomax-l2-13b","match":{"equals":"gryphe/mythomax-l2-13b"},"prices":{"input_mtok":0.065,"output_mtok":0.065}},{"id":"hermes-2-pro-llama-3-8b","match":{"equals":"hermes-2-pro-llama-3-8b"},"prices":{"input_mtok":0.025,"output_mtok":0.04}},{"id":"ibm-granite/granite-4.0-h-micro","match":{"equals":"ibm-granite/granite-4.0-h-micro"},"prices":{"input_mtok":0.017,"output_mtok":0.112}},{"id":"ibm-granite/granite-4.1-8b","match":{"equals":"ibm-granite/granite-4.1-8b"},"prices":{"input_mtok":0.05,"cache_read_mtok":0.05,"output_mtok":0.1}},{"id":"inception/mercury-2","match":{"equals":"inception/mercury-2"},"prices":{"input_mtok":0.25,"cache_read_mtok":0.025,"output_mtok":0.75}},{"id":"inclusionai/ling-2.6-1t","match":{"equals":"inclusionai/ling-2.6-1t"},"prices":{"input_mtok":0.075,"cache_read_mtok":0.015,"output_mtok":0.625}},{"id":"inclusionai/ling-2.6-flash","match":{"equals":"inclusionai/ling-2.6-flash"},"prices":{"input_mtok":0.01,"cache_read_mtok":0.002,"output_mtok":0.03}},{"id":"inclusionai/ring-2.6-1t","match":{"equals":"inclusionai/ring-2.6-1t"},"prices":{"input_mtok":0.075,"cache_read_mtok":0.015,"output_mtok":0.625}},{"id":"infermatic/mn-inferor-12b","match":{"equals":"infermatic/mn-inferor-12b"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"inflection/inflection-3-pi","match":{"equals":"inflection/inflection-3-pi"},"prices":{"input_mtok":2.5,"output_mtok":10}},{"id":"inflection/inflection-3-productivity","match":{"equals":"inflection/inflection-3-productivity"},"prices":{"input_mtok":2.5,"output_mtok":10}},{"id":"jamba-1.6-large","match":{"equals":"jamba-1.6-large"},"prices":{"input_mtok":2,"output_mtok":8}},{"id":"jamba-1.6-mini","match":{"equals":"jamba-1.6-mini"},"prices":{"input_mtok":0.2,"output_mtok":0.4}},{"id":"jondurbin/airoboros-l2-70b","match":{"equals":"jondurbin/airoboros-l2-70b"},"prices":{"input_mtok":0.5,"output_mtok":0.5}},{"id":"kwaipilot/kat-coder-pro-v2","match":{"equals":"kwaipilot/kat-coder-pro-v2"},"prices":{"input_mtok":0.3,"cache_read_mtok":0.06,"output_mtok":1.2}},{"id":"l3-euryale-70b","match":{"equals":"l3-euryale-70b"},"prices":{"input_mtok":1.48,"output_mtok":1.48}},{"id":"latitudegames/wayfarer-large-70b-llama-3.3","match":{"equals":"latitudegames/wayfarer-large-70b-llama-3.3"},"prices":{"input_mtok":0.8,"output_mtok":0.9}},{"id":"lfm-3b","match":{"equals":"lfm-3b"},"prices":{"input_mtok":0.02,"output_mtok":0.02}},{"id":"lfm-40b","match":{"equals":"lfm-40b"},"prices":{"input_mtok":0.15,"output_mtok":0.15}},{"id":"lfm-7b","match":{"equals":"lfm-7b"},"prices":{"input_mtok":0.01,"output_mtok":0.01}},{"id":"liquid/lfm-2-24b-a2b","match":{"equals":"liquid/lfm-2-24b-a2b"},"prices":{"input_mtok":0.03,"output_mtok":0.12}},{"id":"liquid/lfm-3b","match":{"equals":"liquid/lfm-3b"},"prices":{"input_mtok":0.02,"output_mtok":0.02}},{"id":"liquid/lfm-40b","match":{"equals":"liquid/lfm-40b"},"prices":{"input_mtok":0.15,"output_mtok":0.15}},{"id":"liquid/lfm-7b","match":{"equals":"liquid/lfm-7b"},"prices":{"input_mtok":0.01,"output_mtok":0.01}},{"id":"llama-3-lumimaid-70b","match":{"equals":"llama-3-lumimaid-70b"},"prices":{"input_mtok":4,"output_mtok":6}},{"id":"llama-3-lumimaid-8b","match":{"equals":"llama-3-lumimaid-8b"},"prices":{"input_mtok":0.2,"output_mtok":1.25}},{"id":"llama-3.1-405b","match":{"equals":"llama-3.1-405b"},"prices":{"input_mtok":2,"output_mtok":2}},{"id":"llama-3.1-405b-instruct","match":{"equals":"llama-3.1-405b-instruct"},"prices":{"input_mtok":0.8,"output_mtok":0.8}},{"id":"llama-3.1-lumimaid-70b","match":{"equals":"llama-3.1-lumimaid-70b"},"prices":{"input_mtok":2.5,"output_mtok":3}},{"id":"llama-3.1-lumimaid-8b","match":{"equals":"llama-3.1-lumimaid-8b"},"prices":{"input_mtok":0.2,"output_mtok":1.25}},{"id":"llama-3.1-nemotron-70b-instruct","match":{"equals":"llama-3.1-nemotron-70b-instruct"},"prices":{"input_mtok":0.12,"output_mtok":0.3}},{"id":"llama-3.1-nemotron-ultra-253b-v1","match":{"equals":"llama-3.1-nemotron-ultra-253b-v1"},"prices":{"input_mtok":0.6,"output_mtok":1.8}},{"id":"llama-3.1-sonar-large-128k-online","match":{"equals":"llama-3.1-sonar-large-128k-online"},"prices":{"input_mtok":1,"output_mtok":1}},{"id":"llama-3.1-sonar-small-128k-online","match":{"equals":"llama-3.1-sonar-small-128k-online"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"llama-3.2-90b-vision-instruct","match":{"equals":"llama-3.2-90b-vision-instruct"},"prices":{"input_mtok":1.2,"output_mtok":1.2}},{"id":"llama-3.3-nemotron-super-49b-v1","match":{"equals":"llama-3.3-nemotron-super-49b-v1"},"prices":{"input_mtok":0.13,"output_mtok":0.4}},{"id":"llama-guard-2-8b","match":{"equals":"llama-guard-2-8b"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"llama3.1-typhoon2-70b-instruct","match":{"equals":"llama3.1-typhoon2-70b-instruct"},"prices":{"input_mtok":0.88,"output_mtok":0.88}},{"id":"llemma_7b","match":{"equals":"llemma_7b"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"maestro-reasoning","match":{"equals":"maestro-reasoning"},"prices":{"input_mtok":0.9,"output_mtok":3.3}},{"id":"magistral-medium-2506","match":{"or":[{"equals":"magistral-medium-2506"},{"equals":"magistral-medium-2506:thinking"}]},"prices":{"input_mtok":2,"output_mtok":5}},{"id":"magistral-small-2506","match":{"equals":"magistral-small-2506"},"prices":{"input_mtok":0.5,"output_mtok":1.5}},{"id":"magnum-72b","match":{"equals":"magnum-72b"},"prices":{"input_mtok":4,"output_mtok":6}},{"id":"magnum-v2-72b","match":{"equals":"magnum-v2-72b"},"prices":{"input_mtok":3,"output_mtok":3}},{"id":"mancer/weaver","match":{"equals":"mancer/weaver"},"prices":{"input_mtok":1.125,"output_mtok":1.125}},{"id":"mercury-coder-small-beta","match":{"equals":"mercury-coder-small-beta"},"prices":{"input_mtok":0.25,"output_mtok":1}},{"id":"meta-llama/llama-2-13b-chat","match":{"equals":"meta-llama/llama-2-13b-chat"},"prices":{"input_mtok":0.22,"output_mtok":0.22}},{"id":"meta-llama/llama-2-70b-chat","match":{"equals":"meta-llama/llama-2-70b-chat"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"meta-llama/llama-3-70b-instruct","match":{"equals":"meta-llama/llama-3-70b-instruct"},"prices":{"input_mtok":0.3,"output_mtok":0.4}},{"id":"meta-llama/llama-3-8b-instruct","match":{"equals":"meta-llama/llama-3-8b-instruct"},"prices":{"input_mtok":0.03,"output_mtok":0.06}},{"id":"meta-llama/llama-3.1-405b","match":{"equals":"meta-llama/llama-3.1-405b"},"prices":{"input_mtok":2,"output_mtok":2}},{"id":"meta-llama/llama-3.1-405b-instruct","match":{"equals":"meta-llama/llama-3.1-405b-instruct"},"prices":{"input_mtok":0.8,"output_mtok":0.8}},{"id":"meta-llama/llama-3.1-70b-instruct","match":{"equals":"meta-llama/llama-3.1-70b-instruct"},"prices":{"input_mtok":0.1,"output_mtok":0.28}},{"id":"meta-llama/llama-3.1-8b-instruct","match":{"equals":"meta-llama/llama-3.1-8b-instruct"},"prices":{"input_mtok":0.02,"output_mtok":0.03}},{"id":"meta-llama/llama-3.2-11b-vision-instruct","match":{"equals":"meta-llama/llama-3.2-11b-vision-instruct"},"prices":{"input_mtok":0.049,"output_mtok":0.049}},{"id":"meta-llama/llama-3.2-1b-instruct","match":{"equals":"meta-llama/llama-3.2-1b-instruct"},"prices":{"input_mtok":0.005,"output_mtok":0.01}},{"id":"meta-llama/llama-3.2-3b-instruct","match":{"equals":"meta-llama/llama-3.2-3b-instruct"},"prices":{"input_mtok":0.01,"output_mtok":0.02}},{"id":"meta-llama/llama-3.2-90b-vision-instruct","match":{"equals":"meta-llama/llama-3.2-90b-vision-instruct"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"meta-llama/llama-3.3-70b-instruct","match":{"equals":"meta-llama/llama-3.3-70b-instruct"},"prices":{"input_mtok":0.05,"output_mtok":0.24}},{"id":"meta-llama/llama-4-maverick","match":{"equals":"meta-llama/llama-4-maverick"},"prices":{"input_mtok":0.15,"output_mtok":0.6}},{"id":"meta-llama/llama-4-scout","match":{"equals":"meta-llama/llama-4-scout"},"prices":{"input_mtok":0.08,"output_mtok":0.3}},{"id":"meta-llama/llama-guard-2-8b","match":{"equals":"meta-llama/llama-guard-2-8b"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"meta-llama/llama-guard-3-8b","match":{"equals":"meta-llama/llama-guard-3-8b"},"prices":{"input_mtok":0.02,"output_mtok":0.06}},{"id":"meta-llama/llama-guard-4-12b","match":{"equals":"meta-llama/llama-guard-4-12b"},"prices":{"input_mtok":0.05,"output_mtok":0.05}},{"id":"microsoft/phi-3-medium-128k-instruct","match":{"equals":"microsoft/phi-3-medium-128k-instruct"},"prices":{"input_mtok":1,"output_mtok":1}},{"id":"microsoft/phi-3-mini-128k-instruct","match":{"equals":"microsoft/phi-3-mini-128k-instruct"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"microsoft/phi-3.5-mini-128k-instruct","match":{"equals":"microsoft/phi-3.5-mini-128k-instruct"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"microsoft/phi-4","match":{"equals":"microsoft/phi-4"},"prices":{"input_mtok":0.07,"output_mtok":0.14}},{"id":"microsoft/phi-4-mini-instruct","match":{"equals":"microsoft/phi-4-mini-instruct"},"prices":{"input_mtok":0.08,"cache_read_mtok":0.08,"output_mtok":0.35}},{"id":"microsoft/phi-4-multimodal-instruct","match":{"equals":"microsoft/phi-4-multimodal-instruct"},"prices":{"input_mtok":0.05,"output_mtok":0.1}},{"id":"microsoft/wizardlm-2-7b","match":{"equals":"microsoft/wizardlm-2-7b"},"prices":{"input_mtok":0.07,"output_mtok":0.07}},{"id":"microsoft/wizardlm-2-8x22b","match":{"equals":"microsoft/wizardlm-2-8x22b"},"prices":{"input_mtok":0.5,"output_mtok":0.5}},{"id":"midnight-rose-70b","match":{"equals":"midnight-rose-70b"},"prices":{"input_mtok":0.8,"output_mtok":0.8}},{"id":"minimax-m1:extended","match":{"equals":"minimax-m1:extended"},"prices":{"input_mtok":0.55,"output_mtok":2.2}},{"id":"minimax/minimax-01","match":{"equals":"minimax/minimax-01"},"prices":{"input_mtok":0.2,"output_mtok":1.1}},{"id":"minimax/minimax-m1","match":{"equals":"minimax/minimax-m1"},"prices":{"input_mtok":0.3,"output_mtok":1.65}},{"id":"minimax/minimax-m2","match":{"equals":"minimax/minimax-m2"},"prices":{"input_mtok":0.255,"cache_read_mtok":0.03,"output_mtok":1}},{"id":"minimax/minimax-m2-her","match":{"or":[{"equals":"minimax/minimax-m2-her"},{"equals":"minimax/minimax-m2-her-20260123"}]},"prices":{"input_mtok":0.3,"cache_read_mtok":0.03,"output_mtok":1.2}},{"id":"minimax/minimax-m2.1","match":{"equals":"minimax/minimax-m2.1"},"prices":{"input_mtok":0.29,"cache_read_mtok":0.03,"output_mtok":0.95}},{"id":"minimax/minimax-m2.5","match":{"or":[{"equals":"minimax/minimax-m2.5"},{"equals":"minimax/minimax-m2.5-20260211"}]},"prices":{"input_mtok":0.15,"cache_read_mtok":0.05,"output_mtok":0.9}},{"id":"minimax/minimax-m2.7","match":{"or":[{"equals":"minimax/minimax-m2.7"},{"equals":"minimax/minimax-m2.7-20260318"}]},"prices":{"input_mtok":0.27,"cache_read_mtok":0.054,"output_mtok":1.08}},{"id":"minimax/minimax-m3","match":{"or":[{"equals":"minimax/minimax-m3"},{"equals":"minimax/minimax-m3-20260531"}]},"prices":{"input_mtok":0.3,"cache_read_mtok":0.06,"output_mtok":1.2}},{"id":"ministral-3b","match":{"equals":"ministral-3b"},"prices":{"input_mtok":0.04,"output_mtok":0.04}},{"id":"ministral-8b","match":{"equals":"ministral-8b"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"mistral-7b-instruct","match":{"or":[{"equals":"mistral-7b-instruct"},{"equals":"mistral-7b-instruct-v0.3"}]},"prices":{"input_mtok":0.028,"output_mtok":0.054}},{"id":"mistral-7b-instruct-v0.1","match":{"equals":"mistral-7b-instruct-v0.1"},"prices":{"input_mtok":0.11,"output_mtok":0.19}},{"id":"mistral-7b-instruct-v0.2","match":{"equals":"mistral-7b-instruct-v0.2"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"mistral-medium","match":{"equals":"mistral-medium"},"prices":{"input_mtok":2.75,"output_mtok":8.1}},{"id":"mistral-small","match":{"equals":"mistral-small"},"prices":{"input_mtok":0.2,"output_mtok":0.6}},{"id":"mistral-tiny","match":{"equals":"mistral-tiny"},"prices":{"input_mtok":0.25,"output_mtok":0.25}},{"id":"mistral/ministral-8b","match":{"equals":"mistral/ministral-8b"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"mistralai/codestral-2501","match":{"equals":"mistralai/codestral-2501"},"prices":{"input_mtok":0.3,"output_mtok":0.9}},{"id":"mistralai/codestral-2508","match":{"equals":"mistralai/codestral-2508"},"prices":{"input_mtok":0.3,"cache_read_mtok":0.03,"output_mtok":0.9}},{"id":"mistralai/codestral-mamba","match":{"equals":"mistralai/codestral-mamba"},"prices":{"input_mtok":0.25,"output_mtok":0.25}},{"id":"mistralai/devstral-2512","match":{"equals":"mistralai/devstral-2512"},"prices":{"input_mtok":0.4,"cache_read_mtok":0.04,"output_mtok":2}},{"id":"mistralai/ministral-14b-2512","match":{"equals":"mistralai/ministral-14b-2512"},"prices":{"input_mtok":0.2,"cache_read_mtok":0.02,"output_mtok":0.2}},{"id":"mistralai/ministral-3b","match":{"equals":"mistralai/ministral-3b"},"prices":{"input_mtok":0.04,"output_mtok":0.04}},{"id":"mistralai/ministral-3b-2512","match":{"equals":"mistralai/ministral-3b-2512"},"prices":{"input_mtok":0.1,"cache_read_mtok":0.01,"output_mtok":0.1}},{"id":"mistralai/ministral-8b","match":{"equals":"mistralai/ministral-8b"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"mistralai/ministral-8b-2512","match":{"equals":"mistralai/ministral-8b-2512"},"prices":{"input_mtok":0.15,"cache_read_mtok":0.015,"output_mtok":0.15}},{"id":"mistralai/mistral-7b-instruct","match":{"or":[{"equals":"mistralai/mistral-7b-instruct"},{"equals":"mistralai/mistral-7b-instruct-v0.3"}]},"prices":{"input_mtok":0.029,"output_mtok":0.059}},{"id":"mistralai/mistral-7b-instruct-v0.1","match":{"equals":"mistralai/mistral-7b-instruct-v0.1"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"mistralai/mistral-7b-instruct-v0.2","match":{"equals":"mistralai/mistral-7b-instruct-v0.2"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"mistralai/mistral-large","match":{"or":[{"equals":"mistralai/mistral-large"},{"equals":"mistralai/mistral-large-2407"},{"equals":"mistral-large-2411"}]},"prices":{"input_mtok":2,"output_mtok":6}},{"id":"mistralai/mistral-large-2512","match":{"equals":"mistralai/mistral-large-2512"},"prices":{"input_mtok":0.5,"cache_read_mtok":0.05,"output_mtok":1.5}},{"id":"mistralai/mistral-medium","match":{"equals":"mistralai/mistral-medium"},"prices":{"input_mtok":2.75,"output_mtok":8.1}},{"id":"mistralai/mistral-medium-3","match":{"equals":"mistralai/mistral-medium-3"},"prices":{"input_mtok":0.4,"output_mtok":2}},{"id":"mistralai/mistral-medium-3-5","match":{"equals":"mistralai/mistral-medium-3-5"},"prices":{"input_mtok":1.5,"output_mtok":7.5}},{"id":"mistralai/mistral-medium-3.1","match":{"equals":"mistralai/mistral-medium-3.1"},"prices":{"input_mtok":0.4,"cache_read_mtok":0.04,"output_mtok":2}},{"id":"mistralai/mistral-nemo","match":{"equals":"mistralai/mistral-nemo"},"prices":{"input_mtok":0.01,"output_mtok":0.019}},{"id":"mistralai/mistral-saba","match":{"equals":"mistralai/mistral-saba"},"prices":{"input_mtok":0.2,"output_mtok":0.6}},{"id":"mistralai/mistral-small","match":{"equals":"mistralai/mistral-small"},"prices":{"input_mtok":0.2,"output_mtok":0.6}},{"id":"mistralai/mistral-small-24b-instruct-2501","match":{"equals":"mistralai/mistral-small-24b-instruct-2501"},"prices":{"input_mtok":0.05,"output_mtok":0.09}},{"id":"mistralai/mistral-small-2603","match":{"equals":"mistralai/mistral-small-2603"},"prices":{"input_mtok":0.15,"cache_read_mtok":0.015,"output_mtok":0.6}},{"id":"mistralai/mistral-small-3.1-24b-instruct","match":{"equals":"mistralai/mistral-small-3.1-24b-instruct"},"prices":{"input_mtok":0.05,"output_mtok":0.15}},{"id":"mistralai/mistral-small-3.2-24b-instruct","match":{"equals":"mistralai/mistral-small-3.2-24b-instruct"},"prices":{"input_mtok":0.075,"output_mtok":0.2}},{"id":"mistralai/mistral-tiny","match":{"equals":"mistralai/mistral-tiny"},"prices":{"input_mtok":0.25,"output_mtok":0.25}},{"id":"mistralai/mixtral-8x22b-instruct","match":{"equals":"mistralai/mixtral-8x22b-instruct"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"mistralai/mixtral-8x7b-instruct","match":{"equals":"mistralai/mixtral-8x7b-instruct"},"prices":{"input_mtok":0.24,"output_mtok":0.24}},{"id":"mistralai/pixtral-12b","match":{"equals":"mistralai/pixtral-12b"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"mistralai/pixtral-large-2411","match":{"equals":"mistralai/pixtral-large-2411"},"prices":{"input_mtok":2,"output_mtok":6}},{"id":"mistralai/voxtral-small-24b-2507","match":{"equals":"mistralai/voxtral-small-24b-2507"},"prices":{"input_mtok":0.1,"cache_read_mtok":0.01,"output_mtok":0.3}},{"id":"mixtral-8x7b-instruct","match":{"equals":"mixtral-8x7b-instruct"},"prices":{"input_mtok":0.08,"output_mtok":0.24}},{"id":"mn-celeste-12b","match":{"equals":"mn-celeste-12b"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"mn-inferor-12b","match":{"equals":"mn-inferor-12b"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"mn-starcannon-12b","match":{"equals":"mn-starcannon-12b"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"moonshotai/kimi-k2","match":{"equals":"moonshotai/kimi-k2"},"prices":{"input_mtok":0.57,"output_mtok":2.3}},{"id":"moonshotai/kimi-k2-0905","match":{"equals":"moonshotai/kimi-k2-0905"},"prices":{"input_mtok":0.6,"output_mtok":2.5}},{"id":"moonshotai/kimi-k2-thinking","match":{"equals":"moonshotai/kimi-k2-thinking"},"prices":{"input_mtok":0.6,"output_mtok":2.5}},{"id":"moonshotai/kimi-k2.5","match":{"equals":"moonshotai/kimi-k2.5"},"prices":{"input_mtok":0.4,"cache_read_mtok":0.09,"output_mtok":1.9}},{"id":"moonshotai/kimi-k2.6","match":{"equals":"moonshotai/kimi-k2.6"},"prices":{"input_mtok":0.68,"cache_read_mtok":0.34,"output_mtok":3.41}},{"id":"moonshotai/kimi-k2.7-code","match":{"or":[{"equals":"moonshotai/kimi-k2.7-code"},{"equals":"moonshotai/kimi-k2.7-code-20260612"}]},"context_window":262144,"prices":{"input_mtok":0.75,"cache_read_mtok":0.16,"output_mtok":3.5}},{"id":"moonshotai/kimi-k3","match":{"or":[{"equals":"moonshotai/kimi-k3"},{"equals":"moonshotai/kimi-k3-20260715"}]},"context_window":1048576,"prices":{"input_mtok":3,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"morph/morph-v3-fast","match":{"equals":"morph/morph-v3-fast"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"morph/morph-v3-large","match":{"equals":"morph/morph-v3-large"},"prices":{"input_mtok":0.9,"output_mtok":1.9}},{"id":"mythalion-13b","match":{"equals":"mythalion-13b"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"neversleep/llama-3-lumimaid-70b","match":{"equals":"neversleep/llama-3-lumimaid-70b"},"prices":{"input_mtok":3.375,"output_mtok":4.5}},{"id":"neversleep/llama-3-lumimaid-8b","match":{"or":[{"equals":"neversleep/llama-3-lumimaid-8b"},{"equals":"neversleep/llama-3-lumimaid-8b:extended"}]},"prices":{"input_mtok":0.09375,"output_mtok":0.75}},{"id":"neversleep/llama-3.1-lumimaid-70b","match":{"equals":"neversleep/llama-3.1-lumimaid-70b"},"prices":{"input_mtok":1.5,"output_mtok":2.25}},{"id":"neversleep/llama-3.1-lumimaid-8b","match":{"equals":"neversleep/llama-3.1-lumimaid-8b"},"prices":{"input_mtok":0.09375,"output_mtok":0.75}},{"id":"neversleep/noromaid-20b","match":{"equals":"neversleep/noromaid-20b"},"prices":{"input_mtok":0.75,"output_mtok":1.5}},{"id":"noromaid-20b","match":{"equals":"noromaid-20b"},"prices":{"input_mtok":1.25,"output_mtok":2}},{"id":"nothingiisreal/mn-celeste-12b","match":{"equals":"nothingiisreal/mn-celeste-12b"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"nous-hermes-2-mixtral-8x7b-dpo","match":{"equals":"nous-hermes-2-mixtral-8x7b-dpo"},"prices":{"input_mtok":0.6,"output_mtok":0.6}},{"id":"nousresearch/hermes-2-pro-llama-3-8b","match":{"equals":"nousresearch/hermes-2-pro-llama-3-8b"},"prices":{"input_mtok":0.025,"output_mtok":0.04}},{"id":"nousresearch/hermes-3-llama-3.1-405b","match":{"equals":"nousresearch/hermes-3-llama-3.1-405b"},"prices":{"input_mtok":0.7,"output_mtok":0.8}},{"id":"nousresearch/hermes-3-llama-3.1-70b","match":{"equals":"nousresearch/hermes-3-llama-3.1-70b"},"prices":{"input_mtok":0.12,"output_mtok":0.3}},{"id":"nousresearch/hermes-4-405b","match":{"equals":"nousresearch/hermes-4-405b"},"prices":{"input_mtok":1,"output_mtok":3}},{"id":"nousresearch/hermes-4-70b","match":{"equals":"nousresearch/hermes-4-70b"},"prices":{"input_mtok":0.13,"output_mtok":0.4}},{"id":"nousresearch/nous-hermes-2-mixtral-8x7b-dpo","match":{"equals":"nousresearch/nous-hermes-2-mixtral-8x7b-dpo"},"prices":{"input_mtok":0.6,"output_mtok":0.6}},{"id":"nousresearch/nous-hermes-llama2-13b","match":{"equals":"nousresearch/nous-hermes-llama2-13b"},"prices":{"input_mtok":0.18,"output_mtok":0.18}},{"id":"nvidia/llama-3.1-nemotron-70b-instruct","match":{"equals":"nvidia/llama-3.1-nemotron-70b-instruct"},"prices":{"input_mtok":0.12,"output_mtok":0.3}},{"id":"nvidia/llama-3.3-nemotron-super-49b-v1.5","match":{"equals":"nvidia/llama-3.3-nemotron-super-49b-v1.5"},"prices":{"input_mtok":0.4,"output_mtok":0.4}},{"id":"nvidia/nemotron-3-nano-30b-a3b","match":{"equals":"nvidia/nemotron-3-nano-30b-a3b"},"prices":{"input_mtok":0.05,"output_mtok":0.2}},{"id":"nvidia/nemotron-3-super-120b-a12b","match":{"equals":"nvidia/nemotron-3-super-120b-a12b"},"prices":{"input_mtok":0.09,"output_mtok":0.45}},{"id":"nvidia/nemotron-3-ultra-550b-a55b","match":{"equals":"nvidia/nemotron-3-ultra-550b-a55b"},"prices":{"input_mtok":0.5,"cache_read_mtok":0.15,"output_mtok":2.5}},{"id":"nvidia/nemotron-nano-9b-v2","match":{"equals":"nvidia/nemotron-nano-9b-v2"},"prices":{"input_mtok":0.04,"output_mtok":0.16}},{"id":"o1-mini","match":{"or":[{"equals":"o1-mini"},{"equals":"o1-mini-2024-09-12"}]},"prices":{"input_mtok":1.1,"cache_read_mtok":0.55,"output_mtok":4.4}},{"id":"openai/chatgpt-4o-latest","match":{"equals":"openai/chatgpt-4o-latest"},"prices":{"input_mtok":5,"output_mtok":15}},{"id":"openai/codex-mini","match":{"equals":"openai/codex-mini"},"prices":{"input_mtok":1.5,"cache_read_mtok":0.375,"output_mtok":6}},{"id":"openai/gpt-3.5-turbo","match":{"or":[{"equals":"openai/gpt-3.5-turbo"},{"equals":"gpt-3.5-turbo-0125"}]},"prices":{"input_mtok":0.5,"output_mtok":1.5}},{"id":"openai/gpt-3.5-turbo-0613","match":{"equals":"openai/gpt-3.5-turbo-0613"},"prices":{"input_mtok":1,"output_mtok":2}},{"id":"openai/gpt-3.5-turbo-1106","match":{"equals":"openai/gpt-3.5-turbo-1106"},"prices":{"input_mtok":1,"output_mtok":2}},{"id":"openai/gpt-3.5-turbo-16k","match":{"equals":"openai/gpt-3.5-turbo-16k"},"prices":{"input_mtok":3,"output_mtok":4}},{"id":"openai/gpt-3.5-turbo-instruct","match":{"equals":"openai/gpt-3.5-turbo-instruct"},"prices":{"input_mtok":1.5,"output_mtok":2}},{"id":"openai/gpt-4","match":{"or":[{"equals":"openai/gpt-4"},{"equals":"gpt-4-0314"}]},"prices":{"input_mtok":30,"output_mtok":60}},{"id":"openai/gpt-4-1106-preview","match":{"equals":"openai/gpt-4-1106-preview"},"prices":{"input_mtok":10,"output_mtok":30}},{"id":"openai/gpt-4-32k","match":{"or":[{"equals":"openai/gpt-4-32k"},{"equals":"openai/gpt-4-32k-0314"}]},"prices":{"input_mtok":60,"output_mtok":120}},{"id":"openai/gpt-4-turbo","match":{"or":[{"equals":"openai/gpt-4-turbo"},{"equals":"openai/gpt-4-turbo-preview"}]},"prices":{"input_mtok":10,"output_mtok":30}},{"id":"openai/gpt-4.1","match":{"equals":"openai/gpt-4.1"},"prices":{"input_mtok":2,"cache_read_mtok":0.5,"output_mtok":8}},{"id":"openai/gpt-4.1-mini","match":{"equals":"openai/gpt-4.1-mini"},"prices":{"input_mtok":0.4,"cache_read_mtok":0.1,"output_mtok":1.6}},{"id":"openai/gpt-4.1-nano","match":{"equals":"openai/gpt-4.1-nano"},"prices":{"input_mtok":0.1,"cache_read_mtok":0.025,"output_mtok":0.4}},{"id":"openai/gpt-4.5-preview","match":{"equals":"openai/gpt-4.5-preview"},"prices":{"input_mtok":75,"output_mtok":150}},{"id":"openai/gpt-4o","match":{"or":[{"equals":"openai/gpt-4o"},{"equals":"openai/gpt-4o-2024-08-06"},{"equals":"openai/gpt-4o-2024-11-20"},{"equals":"openai/gpt-4o-audio-preview"}]},"prices":{"input_mtok":2.5,"output_mtok":10}},{"id":"openai/gpt-4o-2024-05-13","match":{"equals":"openai/gpt-4o-2024-05-13"},"prices":{"input_mtok":5,"output_mtok":15}},{"id":"openai/gpt-4o-mini","match":{"or":[{"equals":"openai/gpt-4o-mini"},{"equals":"openai/gpt-4o-mini-2024-07-18"}]},"prices":{"input_mtok":0.15,"cache_read_mtok":0.075,"output_mtok":0.6}},{"id":"openai/gpt-4o-mini-search-preview","match":{"equals":"openai/gpt-4o-mini-search-preview"},"prices":{"input_mtok":0.15,"output_mtok":0.6}},{"id":"openai/gpt-4o-search-preview","match":{"equals":"openai/gpt-4o-search-preview"},"prices":{"input_mtok":2.5,"output_mtok":10}},{"id":"openai/gpt-4o:extended","match":{"equals":"openai/gpt-4o:extended"},"prices":{"input_mtok":6,"output_mtok":18}},{"id":"openai/gpt-5","match":{"or":[{"equals":"openai/gpt-5"},{"equals":"openai/gpt-5-chat"},{"equals":"openai/gpt-5-codex"},{"equals":"openai/gpt-5.1-codex-max"}]},"prices":{"input_mtok":1.25,"cache_read_mtok":0.125,"output_mtok":10}},{"id":"openai/gpt-5-image","match":{"equals":"openai/gpt-5-image"},"prices":{"input_mtok":10,"cache_read_mtok":1.25,"output_mtok":10}},{"id":"openai/gpt-5-image-mini","match":{"equals":"openai/gpt-5-image-mini"},"prices":{"input_mtok":2.5,"cache_read_mtok":0.25,"output_mtok":2}},{"id":"openai/gpt-5-mini","match":{"equals":"openai/gpt-5-mini"},"prices":{"input_mtok":0.25,"cache_read_mtok":0.025,"output_mtok":2}},{"id":"openai/gpt-5-nano","match":{"equals":"openai/gpt-5-nano"},"prices":{"input_mtok":0.05,"cache_read_mtok":0.01,"output_mtok":0.4}},{"id":"openai/gpt-5-pro","match":{"equals":"openai/gpt-5-pro"},"prices":{"input_mtok":15,"output_mtok":120}},{"id":"openai/gpt-5.1","match":{"or":[{"equals":"openai/gpt-5.1"},{"equals":"openai/gpt-5.1-chat"},{"equals":"openai/gpt-5.1-codex"}]},"prices":{"input_mtok":1.25,"cache_read_mtok":0.13,"output_mtok":10}},{"id":"openai/gpt-5.1-codex-mini","match":{"equals":"openai/gpt-5.1-codex-mini"},"prices":{"input_mtok":0.25,"cache_read_mtok":0.025,"output_mtok":2}},{"id":"openai/gpt-5.2","match":{"or":[{"equals":"openai/gpt-5.2"},{"equals":"openai/gpt-5.2-chat"},{"equals":"openai/gpt-5.2-codex"}]},"prices":{"input_mtok":1.75,"cache_read_mtok":0.175,"output_mtok":14}},{"id":"openai/gpt-5.2-pro","match":{"equals":"openai/gpt-5.2-pro"},"prices":{"input_mtok":21,"output_mtok":168}},{"id":"openai/gpt-5.3-chat","match":{"equals":"openai/gpt-5.3-chat"},"prices":{"input_mtok":1.75,"cache_read_mtok":0.175,"output_mtok":14}},{"id":"openai/gpt-5.3-codex","match":{"equals":"openai/gpt-5.3-codex"},"prices":{"input_mtok":1.75,"cache_read_mtok":0.175,"output_mtok":14}},{"id":"openai/gpt-5.4","match":{"equals":"openai/gpt-5.4"},"prices":{"input_mtok":2.5,"cache_read_mtok":0.25,"output_mtok":15}},{"id":"openai/gpt-5.4-image-2","match":{"equals":"openai/gpt-5.4-image-2"},"prices":{"input_mtok":8,"cache_read_mtok":2,"output_mtok":15}},{"id":"openai/gpt-5.4-mini","match":{"equals":"openai/gpt-5.4-mini"},"prices":{"input_mtok":0.75,"cache_read_mtok":0.075,"output_mtok":4.5}},{"id":"openai/gpt-5.4-nano","match":{"equals":"openai/gpt-5.4-nano"},"prices":{"input_mtok":0.2,"cache_read_mtok":0.02,"output_mtok":1.25}},{"id":"openai/gpt-5.4-pro","match":{"equals":"openai/gpt-5.4-pro"},"prices":{"input_mtok":30,"output_mtok":180}},{"id":"openai/gpt-5.5","match":{"equals":"openai/gpt-5.5"},"prices":{"input_mtok":5,"cache_read_mtok":0.5,"output_mtok":30}},{"id":"openai/gpt-5.5-pro","match":{"equals":"openai/gpt-5.5-pro"},"prices":{"input_mtok":30,"output_mtok":180}},{"id":"openai/gpt-audio","match":{"equals":"openai/gpt-audio"},"prices":{"input_mtok":2.5,"output_mtok":10}},{"id":"openai/gpt-audio-mini","match":{"equals":"openai/gpt-audio-mini"},"prices":{"input_mtok":0.6,"output_mtok":2.4}},{"id":"openai/gpt-chat-latest","match":{"equals":"openai/gpt-chat-latest"},"prices":{"input_mtok":5,"cache_read_mtok":0.5,"output_mtok":30}},{"id":"openai/gpt-oss-120b","match":{"equals":"openai/gpt-oss-120b"},"prices":{"input_mtok":0.039,"output_mtok":0.18}},{"id":"openai/gpt-oss-20b","match":{"equals":"openai/gpt-oss-20b"},"prices":{"input_mtok":0.029,"output_mtok":0.14}},{"id":"openai/gpt-oss-safeguard-20b","match":{"equals":"openai/gpt-oss-safeguard-20b"},"prices":{"input_mtok":0.075,"cache_read_mtok":0.037,"output_mtok":0.3}},{"id":"openai/o1","match":{"or":[{"equals":"openai/o1"},{"equals":"o1-preview"},{"equals":"o1-preview-2024-09-12"}]},"prices":{"input_mtok":15,"cache_read_mtok":7.5,"output_mtok":60}},{"id":"openai/o1-mini","match":{"or":[{"equals":"openai/o1-mini"},{"equals":"openai/o1-mini-2024-09-12"}]},"prices":{"input_mtok":1.1,"output_mtok":4.4}},{"id":"openai/o1-pro","match":{"equals":"openai/o1-pro"},"prices":{"input_mtok":150,"output_mtok":600}},{"id":"openai/o3","match":{"equals":"openai/o3"},"prices":{"input_mtok":2,"cache_read_mtok":0.5,"output_mtok":8}},{"id":"openai/o3-deep-research","match":{"equals":"openai/o3-deep-research"},"prices":{"input_mtok":10,"cache_read_mtok":2.5,"output_mtok":40}},{"id":"openai/o3-mini","match":{"or":[{"equals":"openai/o3-mini"},{"equals":"openai/o3-mini-high"}]},"prices":{"input_mtok":1.1,"cache_read_mtok":0.55,"output_mtok":4.4}},{"id":"openai/o3-pro","match":{"equals":"openai/o3-pro"},"prices":{"input_mtok":20,"output_mtok":80}},{"id":"openai/o4-mini","match":{"or":[{"equals":"openai/o4-mini"},{"equals":"openai/o4-mini-high"}]},"prices":{"input_mtok":1.1,"cache_read_mtok":0.275,"output_mtok":4.4}},{"id":"openai/o4-mini-deep-research","match":{"equals":"openai/o4-mini-deep-research"},"prices":{"input_mtok":2,"cache_read_mtok":0.5,"output_mtok":8}},{"id":"openchat/openchat-7b","match":{"equals":"openchat/openchat-7b"},"prices":{"input_mtok":0.07,"output_mtok":0.07}},{"id":"openhands-lm-32b-v0.1","match":{"equals":"openhands-lm-32b-v0.1"},"prices":{"input_mtok":2.6,"output_mtok":3.4}},{"id":"perceptron/perceptron-mk1","match":{"equals":"perceptron/perceptron-mk1"},"prices":{"input_mtok":0.15,"output_mtok":1.5}},{"id":"perplexity/llama-3.1-sonar-large-128k-online","match":{"equals":"perplexity/llama-3.1-sonar-large-128k-online"},"prices":{"input_mtok":1,"output_mtok":1}},{"id":"perplexity/llama-3.1-sonar-small-128k-online","match":{"equals":"perplexity/llama-3.1-sonar-small-128k-online"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"perplexity/r1-1776","match":{"equals":"perplexity/r1-1776"},"prices":{"input_mtok":2,"output_mtok":8}},{"id":"perplexity/sonar","match":{"equals":"perplexity/sonar"},"prices":{"input_mtok":1,"output_mtok":1}},{"id":"perplexity/sonar-deep-research","match":{"equals":"perplexity/sonar-deep-research"},"prices":{"input_mtok":2,"output_mtok":8}},{"id":"perplexity/sonar-pro","match":{"equals":"perplexity/sonar-pro"},"prices":{"input_mtok":3,"output_mtok":15}},{"id":"perplexity/sonar-reasoning","match":{"equals":"perplexity/sonar-reasoning"},"prices":{"input_mtok":1,"output_mtok":5}},{"id":"perplexity/sonar-reasoning-pro","match":{"equals":"perplexity/sonar-reasoning-pro"},"prices":{"input_mtok":2,"output_mtok":8}},{"id":"phi-3-medium-128k-instruct","match":{"equals":"phi-3-medium-128k-instruct"},"prices":{"input_mtok":1,"output_mtok":1}},{"id":"phi-3-mini-128k-instruct","match":{"equals":"phi-3-mini-128k-instruct"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"phi-3.5-mini-128k-instruct","match":{"equals":"phi-3.5-mini-128k-instruct"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"phi-4-multimodal-instruct","match":{"equals":"phi-4-multimodal-instruct"},"prices":{"input_mtok":0.05,"output_mtok":0.1}},{"id":"phi-4-reasoning-plus","match":{"equals":"phi-4-reasoning-plus"},"prices":{"input_mtok":0.07,"output_mtok":0.35}},{"id":"pixtral-12b","match":{"equals":"pixtral-12b"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"pixtral-large-2411","match":{"equals":"pixtral-large-2411"},"prices":{"input_mtok":2,"output_mtok":6}},{"id":"prime-intellect/intellect-3","match":{"equals":"prime-intellect/intellect-3"},"prices":{"input_mtok":0.2,"output_mtok":1.1}},{"id":"pygmalionai/mythalion-13b","match":{"equals":"pygmalionai/mythalion-13b"},"prices":{"input_mtok":0.5625,"output_mtok":1.125}},{"id":"qwen-2-72b-instruct","match":{"equals":"qwen-2-72b-instruct"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"qwen-2.5-vl-7b-instruct","match":{"equals":"qwen-2.5-vl-7b-instruct"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"qwen-max","match":{"equals":"qwen-max"},"prices":{"input_mtok":1.6,"cache_read_mtok":0.64,"output_mtok":6.4}},{"id":"qwen-turbo","match":{"equals":"qwen-turbo"},"prices":{"input_mtok":0.05,"cache_read_mtok":0.02,"output_mtok":0.2}},{"id":"qwen-vl-max","match":{"equals":"qwen-vl-max"},"prices":{"input_mtok":0.8,"output_mtok":3.2}},{"id":"qwen-vl-plus","match":{"equals":"qwen-vl-plus"},"prices":{"input_mtok":0.21,"output_mtok":0.63}},{"id":"qwen/qwen-2-72b-instruct","match":{"equals":"qwen/qwen-2-72b-instruct"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"qwen/qwen-2.5-72b-instruct","match":{"equals":"qwen/qwen-2.5-72b-instruct"},"prices":{"input_mtok":0.12,"output_mtok":0.39}},{"id":"qwen/qwen-2.5-7b-instruct","match":{"equals":"qwen/qwen-2.5-7b-instruct"},"prices":{"input_mtok":0.04,"output_mtok":0.1}},{"id":"qwen/qwen-2.5-coder-32b-instruct","match":{"equals":"qwen/qwen-2.5-coder-32b-instruct"},"prices":{"input_mtok":0.06,"output_mtok":0.15}},{"id":"qwen/qwen-2.5-vl-72b-instruct","match":{"equals":"qwen/qwen-2.5-vl-72b-instruct"},"prices":{"input_mtok":0.6,"output_mtok":0.6}},{"id":"qwen/qwen-2.5-vl-7b-instruct","match":{"equals":"qwen/qwen-2.5-vl-7b-instruct"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"qwen/qwen-max","match":{"equals":"qwen/qwen-max"},"prices":{"input_mtok":1.6,"output_mtok":6.4}},{"id":"qwen/qwen-plus","match":{"equals":"qwen/qwen-plus"},"prices":{"input_mtok":0.4,"cache_read_mtok":0.16,"output_mtok":1.2}},{"id":"qwen/qwen-plus-2025-07-28","match":{"equals":"qwen/qwen-plus-2025-07-28"},"prices":{"input_mtok":0.26,"output_mtok":0.78}},{"id":"qwen/qwen-plus-2025-07-28:thinking","match":{"equals":"qwen/qwen-plus-2025-07-28:thinking"},"prices":{"input_mtok":0.26,"cache_write_mtok":0.325,"output_mtok":0.78}},{"id":"qwen/qwen-turbo","match":{"equals":"qwen/qwen-turbo"},"prices":{"input_mtok":0.05,"output_mtok":0.2}},{"id":"qwen/qwen-vl-max","match":{"equals":"qwen/qwen-vl-max"},"prices":{"input_mtok":0.8,"output_mtok":3.2}},{"id":"qwen/qwen-vl-plus","match":{"equals":"qwen/qwen-vl-plus"},"prices":{"input_mtok":0.21,"output_mtok":0.63}},{"id":"qwen/qwen2.5-coder-7b-instruct","match":{"equals":"qwen/qwen2.5-coder-7b-instruct"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"qwen/qwen2.5-vl-32b-instruct","match":{"equals":"qwen/qwen2.5-vl-32b-instruct"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"qwen/qwen2.5-vl-72b-instruct","match":{"equals":"qwen/qwen2.5-vl-72b-instruct"},"prices":{"input_mtok":0.7,"output_mtok":0.7}},{"id":"qwen/qwen3-14b","match":{"equals":"qwen/qwen3-14b"},"prices":{"input_mtok":0.06,"output_mtok":0.24}},{"id":"qwen/qwen3-235b-a22b","match":{"equals":"qwen/qwen3-235b-a22b"},"prices":{"input_mtok":0.13,"output_mtok":0.6}},{"id":"qwen/qwen3-235b-a22b-2507","match":{"equals":"qwen/qwen3-235b-a22b-2507"},"prices":{"input_mtok":0.09,"output_mtok":0.1}},{"id":"qwen/qwen3-235b-a22b-thinking-2507","match":{"equals":"qwen/qwen3-235b-a22b-thinking-2507"},"prices":{"input_mtok":0.1,"cache_read_mtok":0.1,"output_mtok":0.1}},{"id":"qwen/qwen3-30b-a3b","match":{"equals":"qwen/qwen3-30b-a3b"},"prices":{"input_mtok":0.08,"output_mtok":0.29}},{"id":"qwen/qwen3-30b-a3b-instruct-2507","match":{"equals":"qwen/qwen3-30b-a3b-instruct-2507"},"prices":{"input_mtok":0.04815,"output_mtok":0.19305}},{"id":"qwen/qwen3-30b-a3b-thinking-2507","match":{"equals":"qwen/qwen3-30b-a3b-thinking-2507"},"prices":{"input_mtok":0.08,"cache_read_mtok":0.08,"output_mtok":0.4}},{"id":"qwen/qwen3-32b","match":{"equals":"qwen/qwen3-32b"},"prices":{"input_mtok":0.1,"output_mtok":0.3}},{"id":"qwen/qwen3-8b","match":{"equals":"qwen/qwen3-8b"},"prices":{"input_mtok":0.035,"output_mtok":0.138}},{"id":"qwen/qwen3-coder","match":{"or":[{"equals":"qwen/qwen3-coder"},{"equals":"qwen/qwen3-coder-480b-a35b-07-25"}]},"prices":{"input_mtok":0.22,"output_mtok":1.8}},{"id":"qwen/qwen3-coder-30b-a3b-instruct","match":{"equals":"qwen/qwen3-coder-30b-a3b-instruct"},"prices":{"input_mtok":0.07,"output_mtok":0.27}},{"id":"qwen/qwen3-coder-flash","match":{"equals":"qwen/qwen3-coder-flash"},"prices":{"input_mtok":0.195,"cache_write_mtok":0.24375,"cache_read_mtok":0.039,"output_mtok":0.975}},{"id":"qwen/qwen3-coder-next","match":{"or":[{"equals":"qwen/qwen3-coder-next"},{"equals":"qwen/qwen3-coder-next-2025-02-03"}]},"prices":{"input_mtok":0.11,"cache_read_mtok":0.07,"output_mtok":0.8}},{"id":"qwen/qwen3-coder-plus","match":{"equals":"qwen/qwen3-coder-plus"},"prices":{"input_mtok":0.65,"cache_write_mtok":0.8125,"cache_read_mtok":0.13,"output_mtok":3.25}},{"id":"qwen/qwen3-max","match":{"equals":"qwen/qwen3-max"},"prices":{"input_mtok":1.2,"output_mtok":6}},{"id":"qwen/qwen3-max-thinking","match":{"or":[{"equals":"qwen/qwen3-max-thinking"},{"equals":"qwen/qwen3-max-thinking-20260123"}]},"prices":{"input_mtok":0.78,"output_mtok":3.9}},{"id":"qwen/qwen3-next-80b-a3b-instruct","match":{"or":[{"equals":"qwen/qwen3-next-80b-a3b-instruct"},{"equals":"qwen/qwen3-next-80b-a3b-instruct-2509"}]},"prices":{"input_mtok":0.09,"output_mtok":1.1}},{"id":"qwen/qwen3-next-80b-a3b-thinking","match":{"or":[{"equals":"qwen/qwen3-next-80b-a3b-thinking"},{"equals":"qwen/qwen3-next-80b-a3b-thinking-2509"}]},"prices":{"input_mtok":0.0975,"output_mtok":0.78}},{"id":"qwen/qwen3-vl-235b-a22b-instruct","match":{"equals":"qwen/qwen3-vl-235b-a22b-instruct"},"prices":{"input_mtok":0.2,"cache_read_mtok":0.11,"output_mtok":0.88}},{"id":"qwen/qwen3-vl-235b-a22b-thinking","match":{"equals":"qwen/qwen3-vl-235b-a22b-thinking"},"prices":{"input_mtok":0.26,"output_mtok":2.6}},{"id":"qwen/qwen3-vl-30b-a3b-instruct","match":{"equals":"qwen/qwen3-vl-30b-a3b-instruct"},"prices":{"input_mtok":0.13,"output_mtok":0.52}},{"id":"qwen/qwen3-vl-30b-a3b-thinking","match":{"equals":"qwen/qwen3-vl-30b-a3b-thinking"},"prices":{"input_mtok":0.13,"output_mtok":1.56}},{"id":"qwen/qwen3-vl-32b-instruct","match":{"equals":"qwen/qwen3-vl-32b-instruct"},"prices":{"input_mtok":0.104,"output_mtok":0.416}},{"id":"qwen/qwen3-vl-8b-instruct","match":{"equals":"qwen/qwen3-vl-8b-instruct"},"prices":{"input_mtok":0.08,"output_mtok":0.5}},{"id":"qwen/qwen3-vl-8b-thinking","match":{"equals":"qwen/qwen3-vl-8b-thinking"},"prices":{"input_mtok":0.117,"output_mtok":1.365}},{"id":"qwen/qwen3.5-122b-a10b","match":{"or":[{"equals":"qwen/qwen3.5-122b-a10b"},{"equals":"qwen/qwen3.5-122b-a10b-20260224"}]},"prices":{"input_mtok":0.26,"output_mtok":2.08}},{"id":"qwen/qwen3.5-27b","match":{"or":[{"equals":"qwen/qwen3.5-27b"},{"equals":"qwen/qwen3.5-27b-20260224"}]},"prices":{"input_mtok":0.195,"output_mtok":1.56}},{"id":"qwen/qwen3.5-35b-a3b","match":{"or":[{"equals":"qwen/qwen3.5-35b-a3b"},{"equals":"qwen/qwen3.5-35b-a3b-20260224"}]},"prices":{"input_mtok":0.14,"cache_read_mtok":0.05,"output_mtok":1}},{"id":"qwen/qwen3.5-397b-a17b","match":{"or":[{"equals":"qwen/qwen3.5-397b-a17b"},{"equals":"qwen/qwen3.5-397b-a17b-20260216"}]},"prices":{"input_mtok":0.39,"output_mtok":2.34}},{"id":"qwen/qwen3.5-9b","match":{"or":[{"equals":"qwen/qwen3.5-9b"},{"equals":"qwen/qwen3.5-9b-20260310"}]},"prices":{"input_mtok":0.1,"output_mtok":0.15}},{"id":"qwen/qwen3.5-flash-02-23","match":{"or":[{"equals":"qwen/qwen3.5-flash-02-23"},{"equals":"qwen/qwen3.5-flash-20260224"}]},"prices":{"input_mtok":0.065,"output_mtok":0.26}},{"id":"qwen/qwen3.5-plus-02-15","match":{"or":[{"equals":"qwen/qwen3.5-plus-02-15"},{"equals":"qwen/qwen3.5-plus-20260216"}]},"prices":{"input_mtok":0.4,"output_mtok":2.4}},{"id":"qwen/qwen3.5-plus-20260420","match":{"equals":"qwen/qwen3.5-plus-20260420"},"prices":{"input_mtok":0.3,"cache_write_mtok":0.375,"output_mtok":1.8}},{"id":"qwen/qwen3.6-27b","match":{"or":[{"equals":"qwen/qwen3.6-27b"},{"equals":"qwen/qwen3.6-27b-20260422"}]},"prices":{"input_mtok":0.289,"output_mtok":2.4}},{"id":"qwen/qwen3.6-35b-a3b","match":{"or":[{"equals":"qwen/qwen3.6-35b-a3b"},{"equals":"qwen/qwen3.6-35b-a3b-20260415"}]},"prices":{"input_mtok":0.14,"output_mtok":1}},{"id":"qwen/qwen3.6-flash","match":{"equals":"qwen/qwen3.6-flash"},"prices":{"input_mtok":0.1875,"cache_write_mtok":0.234375,"output_mtok":1.125}},{"id":"qwen/qwen3.6-max-preview","match":{"or":[{"equals":"qwen/qwen3.6-max-preview"},{"equals":"qwen/qwen3.6-max-preview-20260420"}]},"prices":{"input_mtok":1.04,"cache_write_mtok":1.3,"output_mtok":6.24}},{"id":"qwen/qwen3.6-plus","match":{"or":[{"equals":"qwen/qwen3.6-plus"},{"equals":"qwen/qwen3.6-plus-04-02"}]},"prices":{"input_mtok":0.325,"cache_write_mtok":0.40625,"output_mtok":1.95}},{"id":"qwen/qwen3.7-max","match":{"or":[{"equals":"qwen/qwen3.7-max"},{"equals":"qwen/qwen3.7-max-20260520"}]},"prices":{"input_mtok":1.25,"cache_write_mtok":1.5625,"cache_read_mtok":0.25,"output_mtok":3.75}},{"id":"qwen/qwen3.7-plus","match":{"or":[{"equals":"qwen/qwen3.7-plus"},{"equals":"qwen/qwen3.7-plus-20260602"}]},"prices":{"input_mtok":0.4,"cache_write_mtok":0.5,"cache_read_mtok":0.08,"output_mtok":1.6}},{"id":"qwen/qwq-32b","match":{"equals":"qwen/qwq-32b"},"prices":{"input_mtok":0.15,"output_mtok":0.2}},{"id":"qwen/qwq-32b-preview","match":{"equals":"qwen/qwq-32b-preview"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"qwen2.5-vl-32b-instruct","match":{"equals":"qwen2.5-vl-32b-instruct"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"qwq-32b","match":{"equals":"qwq-32b"},"prices":{"input_mtok":0.15,"output_mtok":0.2}},{"id":"qwq-32b-preview","match":{"equals":"qwq-32b-preview"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"r1-1776","match":{"equals":"r1-1776"},"prices":{"input_mtok":2,"output_mtok":8}},{"id":"raifle/sorcererlm-8x22b","match":{"equals":"raifle/sorcererlm-8x22b"},"prices":{"input_mtok":4.5,"output_mtok":4.5}},{"id":"rekaai/reka-edge","match":{"equals":"rekaai/reka-edge"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"rekaai/reka-flash-3","match":{"equals":"rekaai/reka-flash-3"},"prices":{"input_mtok":0.1,"output_mtok":0.2}},{"id":"relace/relace-apply-3","match":{"equals":"relace/relace-apply-3"},"prices":{"input_mtok":0.85,"output_mtok":1.25}},{"id":"relace/relace-search","match":{"equals":"relace/relace-search"},"prices":{"input_mtok":1,"output_mtok":3}},{"id":"sao10k/fimbulvetr-11b-v2","match":{"equals":"sao10k/fimbulvetr-11b-v2"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"sao10k/l3-euryale-70b","match":{"equals":"sao10k/l3-euryale-70b"},"prices":{"input_mtok":1.48,"output_mtok":1.48}},{"id":"sao10k/l3-lunaris-8b","match":{"equals":"sao10k/l3-lunaris-8b"},"prices":{"input_mtok":0.02,"output_mtok":0.05}},{"id":"sao10k/l3.1-70b-hanami-x1","match":{"equals":"sao10k/l3.1-70b-hanami-x1"},"prices":{"input_mtok":3,"output_mtok":3}},{"id":"sao10k/l3.1-euryale-70b","match":{"equals":"sao10k/l3.1-euryale-70b"},"prices":{"input_mtok":0.7,"output_mtok":0.8}},{"id":"sao10k/l3.3-euryale-70b","match":{"equals":"sao10k/l3.3-euryale-70b"},"prices":{"input_mtok":0.7,"output_mtok":0.8}},{"id":"scb10x/llama3.1-typhoon2-70b-instruct","match":{"equals":"scb10x/llama3.1-typhoon2-70b-instruct"},"prices":{"input_mtok":0.88,"output_mtok":0.88}},{"id":"scb10x/llama3.1-typhoon2-8b-instruct","match":{"equals":"scb10x/llama3.1-typhoon2-8b-instruct"},"prices":{"input_mtok":0.18,"output_mtok":0.18}},{"id":"sonar-reasoning","match":{"equals":"sonar-reasoning"},"prices":{"input_mtok":1,"output_mtok":5}},{"id":"sophosympatheia/midnight-rose-70b","match":{"equals":"sophosympatheia/midnight-rose-70b"},"prices":{"input_mtok":0.8,"output_mtok":0.8}},{"id":"sorcererlm-8x22b","match":{"equals":"sorcererlm-8x22b"},"prices":{"input_mtok":4.5,"output_mtok":4.5}},{"id":"spotlight","match":{"equals":"spotlight"},"prices":{"input_mtok":0.18,"output_mtok":0.18}},{"id":"steelskull/l3.3-electra-r1-70b","match":{"equals":"steelskull/l3.3-electra-r1-70b"},"prices":{"input_mtok":0.7,"output_mtok":0.95}},{"id":"stepfun/step-3.5-flash","match":{"equals":"stepfun/step-3.5-flash"},"prices":{"input_mtok":0.09,"cache_read_mtok":0.02,"output_mtok":0.3}},{"id":"stepfun/step-3.7-flash","match":{"equals":"stepfun/step-3.7-flash"},"prices":{"input_mtok":0.2,"cache_read_mtok":0.04,"output_mtok":1.15}},{"id":"switchpoint/router","match":{"equals":"switchpoint/router"},"prices":{"input_mtok":0.85,"output_mtok":3.4}},{"id":"tencent/hunyuan-a13b-instruct","match":{"equals":"tencent/hunyuan-a13b-instruct"},"prices":{"input_mtok":0.14,"output_mtok":0.57}},{"id":"tencent/hy3-preview","match":{"equals":"tencent/hy3-preview"},"prices":{"input_mtok":0.063,"cache_read_mtok":0.021,"output_mtok":0.21}},{"id":"thedrummer/anubis-pro-105b-v1","match":{"equals":"thedrummer/anubis-pro-105b-v1"},"prices":{"input_mtok":0.8,"output_mtok":1}},{"id":"thedrummer/cydonia-24b-v4.1","match":{"equals":"thedrummer/cydonia-24b-v4.1"},"prices":{"input_mtok":0.3,"cache_read_mtok":0.15,"output_mtok":0.5}},{"id":"thedrummer/rocinante-12b","match":{"equals":"thedrummer/rocinante-12b"},"prices":{"input_mtok":0.25,"output_mtok":0.5}},{"id":"thedrummer/skyfall-36b-v2","match":{"equals":"thedrummer/skyfall-36b-v2"},"prices":{"input_mtok":0.5,"output_mtok":0.8}},{"id":"thedrummer/unslopnemo-12b","match":{"equals":"thedrummer/unslopnemo-12b"},"prices":{"input_mtok":0.5,"output_mtok":0.5}},{"id":"toppy-m-7b","match":{"equals":"toppy-m-7b"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"undi95/remm-slerp-l2-13b","match":{"equals":"undi95/remm-slerp-l2-13b"},"prices":{"input_mtok":0.8,"output_mtok":1.2}},{"id":"undi95/toppy-m-7b","match":{"equals":"undi95/toppy-m-7b"},"prices":{"input_mtok":0.07,"output_mtok":0.07}},{"id":"upstage/solar-pro-3","match":{"equals":"upstage/solar-pro-3"},"prices":{"input_mtok":0.15,"cache_read_mtok":0.015,"output_mtok":0.6}},{"id":"valkyrie-49b-v1","match":{"equals":"valkyrie-49b-v1"},"prices":{"input_mtok":0.5,"output_mtok":0.8}},{"id":"virtuoso-medium-v2","match":{"equals":"virtuoso-medium-v2"},"prices":{"input_mtok":0.5,"output_mtok":0.8}},{"id":"writer/palmyra-x5","match":{"equals":"writer/palmyra-x5"},"prices":{"input_mtok":0.6,"output_mtok":6}},{"id":"x-ai/grok-2-1212","match":{"equals":"x-ai/grok-2-1212"},"prices":{"input_mtok":2,"output_mtok":10}},{"id":"x-ai/grok-2-vision-1212","match":{"equals":"x-ai/grok-2-vision-1212"},"prices":{"input_mtok":2,"output_mtok":10}},{"id":"x-ai/grok-3-beta","match":{"equals":"x-ai/grok-3-beta"},"prices":{"input_mtok":3,"output_mtok":15}},{"id":"x-ai/grok-3-mini-beta","match":{"equals":"x-ai/grok-3-mini-beta"},"prices":{"input_mtok":0.3,"output_mtok":0.5}},{"id":"x-ai/grok-4-fast","match":{"equals":"x-ai/grok-4-fast"},"context_window":2000000,"prices":{"input_mtok":{"base":0.2,"tiers":[{"start":128000,"price":0.4}]},"cache_read_mtok":0.05,"output_mtok":{"base":0.5,"tiers":[{"start":128000,"price":1}]}}},{"id":"x-ai/grok-4.20","match":{"equals":"x-ai/grok-4.20"},"prices":{"input_mtok":1.25,"cache_read_mtok":0.2,"output_mtok":2.5}},{"id":"x-ai/grok-4.20-multi-agent","match":{"equals":"x-ai/grok-4.20-multi-agent"},"prices":{"input_mtok":2,"cache_read_mtok":0.2,"output_mtok":6}},{"id":"x-ai/grok-4.3","match":{"or":[{"equals":"x-ai/grok-4.3"},{"regex":"^x-ai/grok-4\\.3-\\d{8}$"}]},"prices":{"input_mtok":1.25,"cache_read_mtok":0.2,"output_mtok":2.5}},{"id":"x-ai/grok-beta","match":{"equals":"x-ai/grok-beta"},"prices":{"input_mtok":5,"output_mtok":15}},{"id":"x-ai/grok-build-0.1","match":{"equals":"x-ai/grok-build-0.1"},"prices":{"input_mtok":1,"cache_read_mtok":0.2,"output_mtok":2}},{"id":"x-ai/grok-code-fast-1","match":{"equals":"x-ai/grok-code-fast-1"},"context_window":256000,"prices":{"input_mtok":0.2,"cache_read_mtok":0.02,"output_mtok":1.5}},{"id":"x-ai/grok-vision-beta","match":{"equals":"x-ai/grok-vision-beta"},"prices":{"input_mtok":5,"output_mtok":15}},{"id":"xiaomi/mimo-v2-flash","match":{"equals":"xiaomi/mimo-v2-flash"},"prices":{"input_mtok":0.1,"cache_read_mtok":0.01,"output_mtok":0.3}},{"id":"xiaomi/mimo-v2.5","match":{"equals":"xiaomi/mimo-v2.5"},"prices":{"input_mtok":0.14,"cache_read_mtok":0.0028,"output_mtok":0.28}},{"id":"xiaomi/mimo-v2.5-pro","match":{"equals":"xiaomi/mimo-v2.5-pro"},"prices":{"input_mtok":0.435,"cache_read_mtok":0.0036,"output_mtok":0.87}},{"id":"xwin-lm/xwin-lm-70b","match":{"equals":"xwin-lm/xwin-lm-70b"},"prices":{"input_mtok":3.75,"output_mtok":3.75}},{"id":"yi-large","match":{"equals":"yi-large"},"prices":{"input_mtok":3,"output_mtok":3}},{"id":"z-ai/glm-4.5","match":{"equals":"z-ai/glm-4.5"},"prices":{"input_mtok":0.6,"cache_read_mtok":0.11,"output_mtok":2.2}},{"id":"z-ai/glm-4.5-air","match":{"equals":"z-ai/glm-4.5-air"},"prices":{"input_mtok":0.125,"cache_read_mtok":0.06,"output_mtok":0.85}},{"id":"z-ai/glm-4.5v","match":{"equals":"z-ai/glm-4.5v"},"prices":{"input_mtok":0.6,"cache_read_mtok":0.11,"output_mtok":1.8}},{"id":"z-ai/glm-4.6","match":{"equals":"z-ai/glm-4.6"},"prices":{"input_mtok":0.43,"cache_read_mtok":0.08,"output_mtok":1.74}},{"id":"z-ai/glm-4.6v","match":{"equals":"z-ai/glm-4.6v"},"prices":{"input_mtok":0.3,"cache_read_mtok":0.05,"output_mtok":0.9}},{"id":"z-ai/glm-4.7","match":{"equals":"z-ai/glm-4.7"},"prices":{"input_mtok":0.4,"cache_read_mtok":0.08,"output_mtok":1.75}},{"id":"z-ai/glm-4.7-flash","match":{"or":[{"equals":"z-ai/glm-4.7-flash"},{"equals":"z-ai/glm-4.7-flash-20260119"}]},"prices":{"input_mtok":0.06,"cache_read_mtok":0.01,"output_mtok":0.4}},{"id":"z-ai/glm-5","match":{"or":[{"equals":"z-ai/glm-5"},{"equals":"z-ai/glm-5-20260211"}]},"prices":{"input_mtok":0.6,"cache_read_mtok":0.12,"output_mtok":1.92}},{"id":"z-ai/glm-5-turbo","match":{"or":[{"equals":"z-ai/glm-5-turbo"},{"equals":"z-ai/glm-5-turbo-20260315"}]},"prices":{"input_mtok":1.2,"cache_read_mtok":0.24,"output_mtok":4}},{"id":"z-ai/glm-5.1","match":{"or":[{"equals":"z-ai/glm-5.1"},{"equals":"z-ai/glm-5.1-20260406"}]},"prices":{"input_mtok":0.98,"cache_read_mtok":0.182,"output_mtok":3.08}},{"id":"z-ai/glm-5.2","match":{"or":[{"equals":"z-ai/glm-5.2"},{"equals":"z-ai/glm-5.2-20260616"}]},"context_window":1048576,"prices":{"input_mtok":1.4,"cache_read_mtok":0.26,"output_mtok":4.4}},{"id":"~anthropic/claude-fable-latest","match":{"equals":"~anthropic/claude-fable-latest"},"prices":{"input_mtok":10,"cache_write_mtok":12.5,"cache_read_mtok":1,"output_mtok":50}},{"id":"~anthropic/claude-haiku-latest","match":{"equals":"~anthropic/claude-haiku-latest"},"prices":{"input_mtok":1,"cache_write_mtok":1.25,"cache_read_mtok":0.1,"output_mtok":5}},{"id":"~anthropic/claude-opus-latest","match":{"equals":"~anthropic/claude-opus-latest"},"prices":{"input_mtok":5,"cache_write_mtok":6.25,"cache_read_mtok":0.5,"output_mtok":25}},{"id":"~anthropic/claude-sonnet-latest","match":{"equals":"~anthropic/claude-sonnet-latest"},"prices":{"input_mtok":3,"cache_write_mtok":3.75,"cache_read_mtok":0.3,"output_mtok":15}},{"id":"~google/gemini-flash-latest","match":{"equals":"~google/gemini-flash-latest"},"prices":{"input_mtok":1.5,"cache_write_mtok":0.08333333333333334,"cache_read_mtok":0.15,"output_mtok":9}},{"id":"~google/gemini-pro-latest","match":{"equals":"~google/gemini-pro-latest"},"prices":{"input_mtok":2,"cache_write_mtok":0.375,"cache_read_mtok":0.2,"output_mtok":12}},{"id":"~moonshotai/kimi-latest","match":{"equals":"~moonshotai/kimi-latest"},"prices":{"input_mtok":0.68,"cache_read_mtok":0.34,"output_mtok":3.41}},{"id":"~openai/gpt-latest","match":{"equals":"~openai/gpt-latest"},"prices":{"input_mtok":5,"cache_read_mtok":0.5,"output_mtok":30}},{"id":"~openai/gpt-mini-latest","match":{"equals":"~openai/gpt-mini-latest"},"prices":{"input_mtok":0.75,"cache_read_mtok":0.075,"output_mtok":4.5}}]},{"id":"ovhcloud","name":"OVHcloud AI Endpoints","pricing_urls":["https://oai.endpoints.kepler.ai.cloud.ovh.net/v1/models"],"api_pattern":"https://oai\\.endpoints\\.kepler\\.ai\\.cloud\\.ovh\\.net","extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["prompt_tokens_details","audio_tokens"],"dest":"input_audio_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"DeepSeek-R1-Distill-Llama-70B","match":{"or":[{"equals":"DeepSeek-R1-Distill-Llama-70B"},{"equals":"deepseek-r1-distill-llama-70b"}]},"context_window":131072,"prices":{"input_mtok":0.74,"output_mtok":0.74}},{"id":"Llama-3.1-8B-Instruct","match":{"or":[{"equals":"Llama-3.1-8B-Instruct"},{"equals":"llama-3.1-8b-instruct"}]},"context_window":131072,"prices":{"input_mtok":0.11,"output_mtok":0.11}},{"id":"Meta-Llama-3_3-70B-Instruct","match":{"or":[{"equals":"Meta-Llama-3_3-70B-Instruct"},{"equals":"meta-llama-3_3-70b-instruct"}]},"context_window":131072,"prices":{"input_mtok":0.74,"output_mtok":0.74}},{"id":"Mistral-7B-Instruct-v0.3","match":{"or":[{"equals":"Mistral-7B-Instruct-v0.3"},{"equals":"mistral-7b-instruct-v0.3"}]},"context_window":65536,"prices":{"input_mtok":0.11,"output_mtok":0.11}},{"id":"Mistral-Nemo-Instruct-2407","match":{"or":[{"equals":"Mistral-Nemo-Instruct-2407"},{"equals":"mistral-nemo-instruct-2407"}]},"context_window":65536,"prices":{"input_mtok":0.14,"output_mtok":0.14}},{"id":"Mistral-Small-3.2-24B-Instruct-2506","match":{"or":[{"equals":"Mistral-Small-3.2-24B-Instruct-2506"},{"equals":"mistral-small-3.2-24b-instruct-2506"}]},"context_window":131072,"prices":{"input_mtok":0.1,"output_mtok":0.31}},{"id":"Mixtral-8x7B-Instruct-v0.1","match":{"or":[{"equals":"Mixtral-8x7B-Instruct-v0.1"},{"equals":"mixtral-8x7b-instruct-v0.1"}]},"context_window":32768,"prices":{"input_mtok":0.7,"output_mtok":0.7}},{"id":"Qwen2.5-VL-72B-Instruct","match":{"or":[{"equals":"Qwen2.5-VL-72B-Instruct"},{"equals":"qwen2.5-vl-72b-instruct"}]},"context_window":32768,"prices":{"input_mtok":1.01,"output_mtok":1.01}},{"id":"Qwen3-32B","match":{"or":[{"equals":"Qwen3-32B"},{"equals":"qwen3-32b"}]},"context_window":32768,"prices":{"input_mtok":0.09,"output_mtok":0.25}},{"id":"Qwen3-Coder-30B-A3B-Instruct","match":{"or":[{"equals":"Qwen3-Coder-30B-A3B-Instruct"},{"equals":"qwen3-coder-30b-a3b-instruct"}]},"context_window":262144,"prices":{"input_mtok":0.07,"output_mtok":0.26}},{"id":"bge-base-en-v1.5","match":{"equals":"bge-base-en-v1.5"},"context_window":512,"prices":{"input_mtok":0.01}},{"id":"bge-m3","match":{"equals":"bge-m3"},"context_window":8192,"prices":{"input_mtok":0.01}},{"id":"bge-multilingual-gemma2","match":{"equals":"bge-multilingual-gemma2"},"context_window":8192,"prices":{"input_mtok":0.01}},{"id":"gpt-oss-120b","match":{"equals":"gpt-oss-120b"},"context_window":131072,"prices":{"input_mtok":0.09,"output_mtok":0.47}},{"id":"gpt-oss-20b","match":{"equals":"gpt-oss-20b"},"context_window":131072,"prices":{"input_mtok":0.05,"output_mtok":0.18}}]},{"id":"perplexity","name":"Perplexity","pricing_urls":["https://docs.perplexity.ai/guides/pricing"],"api_pattern":"https://api\\.perplexity\\.ai","models":[{"id":"llama-3.1-sonar-large-128k-online","match":{"equals":"llama-3.1-sonar-large-128k-online"},"prices":{"input_mtok":1,"output_mtok":1}},{"id":"llama-3.1-sonar-small-128k-online","match":{"equals":"llama-3.1-sonar-small-128k-online"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"r1-1776","match":{"equals":"r1-1776"},"prices":{"input_mtok":2,"output_mtok":8}},{"id":"sonar","match":{"equals":"sonar"},"prices":{"input_mtok":1,"output_mtok":1,"requests_kcount":12}},{"id":"sonar-deep-research","match":{"equals":"sonar-deep-research"},"prices":{"input_mtok":2,"output_mtok":8}},{"id":"sonar-pro","match":{"equals":"sonar-pro"},"prices":{"input_mtok":3,"output_mtok":15,"requests_kcount":14}},{"id":"sonar-pro-search","match":{"equals":"sonar-pro-search"},"prices":{"input_mtok":3,"output_mtok":15}},{"id":"sonar-reasoning","match":{"equals":"sonar-reasoning"},"prices":{"input_mtok":1,"output_mtok":5,"requests_kcount":12}},{"id":"sonar-reasoning-pro","match":{"equals":"sonar-reasoning-pro"},"prices":{"input_mtok":2,"output_mtok":8,"requests_kcount":14}}]},{"id":"together","name":"Together AI","pricing_urls":["https://www.together.ai/pricing"],"api_pattern":"https://api\\.together\\.xyz","provider_match":{"or":[{"equals":"together-ai"},{"equals":"together_ai"}]},"models":[{"id":"Austism/chronos-hermes-13b","match":{"equals":"Austism/chronos-hermes-13b"},"prices":{"input_mtok":0.3,"output_mtok":0.3}},{"id":"Gryphe/MythoMax-L2-13b","match":{"equals":"Gryphe/MythoMax-L2-13b"},"prices":{"input_mtok":0.3,"output_mtok":0.3}},{"id":"Nexusflow/NexusRaven-V2-13B","match":{"equals":"Nexusflow/NexusRaven-V2-13B"},"prices":{"input_mtok":0.3,"output_mtok":0.3}},{"id":"NousResearch/Nous-Capybara-7B-V1p9","match":{"equals":"NousResearch/Nous-Capybara-7B-V1p9"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO","match":{"equals":"NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"NousResearch/Nous-Hermes-2-Mixtral-8x7B-SFT","match":{"equals":"NousResearch/Nous-Hermes-2-Mixtral-8x7B-SFT"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"NousResearch/Nous-Hermes-2-Yi-34B","match":{"equals":"NousResearch/Nous-Hermes-2-Yi-34B"},"prices":{"input_mtok":0.8,"output_mtok":0.8}},{"id":"NousResearch/Nous-Hermes-Llama2-13b","match":{"equals":"NousResearch/Nous-Hermes-Llama2-13b"},"prices":{"input_mtok":0.225,"output_mtok":0.225}},{"id":"NousResearch/Nous-Hermes-llama-2-7b","match":{"equals":"NousResearch/Nous-Hermes-llama-2-7b"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"Open-Orca/Mistral-7B-OpenOrca","match":{"equals":"Open-Orca/Mistral-7B-OpenOrca"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"Qwen/Qwen1.5-0.5B","match":{"or":[{"equals":"Qwen/Qwen1.5-0.5B"},{"equals":"Qwen/Qwen1.5-0.5B-Chat"}]},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"Qwen/Qwen1.5-1.8B","match":{"or":[{"equals":"Qwen/Qwen1.5-1.8B"},{"equals":"Qwen/Qwen1.5-1.8B-Chat"}]},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"Qwen/Qwen1.5-14B","match":{"or":[{"equals":"Qwen/Qwen1.5-14B"},{"equals":"Qwen/Qwen1.5-14B-Chat"}]},"prices":{"input_mtok":0.3,"output_mtok":0.3}},{"id":"Qwen/Qwen1.5-4B","match":{"or":[{"equals":"Qwen/Qwen1.5-4B"},{"equals":"Qwen/Qwen1.5-4B-Chat"}]},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"Qwen/Qwen1.5-72B","match":{"equals":"Qwen/Qwen1.5-72B"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"Qwen/Qwen1.5-7B","match":{"or":[{"equals":"Qwen/Qwen1.5-7B"},{"equals":"Qwen/Qwen1.5-7B-Chat"}]},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"Undi95/ReMM-SLERP-L2-13B","match":{"equals":"Undi95/ReMM-SLERP-L2-13B"},"prices":{"input_mtok":0.3,"output_mtok":0.3}},{"id":"Undi95/Toppy-M-7B","match":{"equals":"Undi95/Toppy-M-7B"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"WizardLM/WizardLM-13B-V1.2","match":{"equals":"WizardLM/WizardLM-13B-V1.2"},"prices":{"input_mtok":0.3,"output_mtok":0.3}},{"id":"allenai/OLMo-7B","match":{"or":[{"equals":"allenai/OLMo-7B"},{"equals":"allenai/OLMo-7B-Instruct"},{"equals":"allenai/OLMo-7B-Twin-2T"}]},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"codellama/CodeLlama-13b-Instruct-hf","match":{"equals":"codellama/CodeLlama-13b-Instruct-hf"},"prices":{"input_mtok":0.225,"output_mtok":0.225}},{"id":"codellama/CodeLlama-34b-Instruct-hf","match":{"equals":"codellama/CodeLlama-34b-Instruct-hf"},"prices":{"input_mtok":0.776,"output_mtok":0.776}},{"id":"codellama/CodeLlama-70b-Instruct-hf","match":{"equals":"codellama/CodeLlama-70b-Instruct-hf"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"codellama/CodeLlama-7b-Instruct-hf","match":{"equals":"codellama/CodeLlama-7b-Instruct-hf"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"deepseek-ai/deepseek-coder-33b-instruct","match":{"equals":"deepseek-ai/deepseek-coder-33b-instruct"},"prices":{"input_mtok":0.8,"output_mtok":0.8}},{"id":"garage-bAInd/Platypus2-70B-instruct","match":{"equals":"garage-bAInd/Platypus2-70B-instruct"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"google/gemma-2b","match":{"or":[{"equals":"google/gemma-2b"},{"equals":"google/gemma-2b-it"}]},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"google/gemma-7b","match":{"or":[{"equals":"google/gemma-7b"},{"equals":"google/gemma-7b-it"}]},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"lmsys/vicuna-13b-v1.5","match":{"equals":"lmsys/vicuna-13b-v1.5"},"prices":{"input_mtok":0.3,"output_mtok":0.3}},{"id":"lmsys/vicuna-7b-v1.5","match":{"equals":"lmsys/vicuna-7b-v1.5"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"meta-llama/Llama-2-13b-chat-hf","match":{"equals":"meta-llama/Llama-2-13b-chat-hf"},"prices":{"input_mtok":0.225,"output_mtok":0.225}},{"id":"meta-llama/Llama-2-70b-chat-hf","match":{"equals":"meta-llama/Llama-2-70b-chat-hf"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"meta-llama/Llama-2-7b-chat-hf","match":{"equals":"meta-llama/Llama-2-7b-chat-hf"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"meta-llama/Llama-3-70b-chat-hf","match":{"equals":"meta-llama/Llama-3-70b-chat-hf"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"meta-llama/Llama-3-8b-chat-hf","match":{"equals":"meta-llama/Llama-3-8b-chat-hf"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"meta-llama/Llama-3.3-70B-Instruct-Turbo","match":{"equals":"meta-llama/Llama-3.3-70B-Instruct-Turbo"},"prices":{"input_mtok":0.88,"output_mtok":0.88}},{"id":"meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8","match":{"equals":"meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8"},"prices":{"input_mtok":0.27,"output_mtok":0.85}},{"id":"meta-llama/Llama-4-Scout-17B-16E-Instruct","match":{"equals":"meta-llama/Llama-4-Scout-17B-16E-Instruct"},"prices":{"input_mtok":0.18,"output_mtok":0.59}},{"id":"meta-llama/Meta-Llama-3-70B-Instruct-Lite","match":{"equals":"meta-llama/Meta-Llama-3-70B-Instruct-Lite"},"prices":{"input_mtok":0.54,"output_mtok":0.54}},{"id":"meta-llama/Meta-Llama-3-70B-Instruct-Turbo","match":{"equals":"meta-llama/Meta-Llama-3-70B-Instruct-Turbo"},"prices":{"input_mtok":0.88,"output_mtok":0.88}},{"id":"meta-llama/Meta-Llama-3-8B-Instruct-Lite","match":{"equals":"meta-llama/Meta-Llama-3-8B-Instruct-Lite"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"meta-llama/Meta-Llama-3-8B-Instruct-Turbo","match":{"equals":"meta-llama/Meta-Llama-3-8B-Instruct-Turbo"},"prices":{"input_mtok":0.18,"output_mtok":0.18}},{"id":"meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo","match":{"equals":"meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo"},"prices":{"input_mtok":3.5,"output_mtok":3.5}},{"id":"meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo","match":{"equals":"meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo"},"prices":{"input_mtok":0.88,"output_mtok":0.88}},{"id":"meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo","match":{"equals":"meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo"},"prices":{"input_mtok":0.18,"output_mtok":0.18}},{"id":"meta-llama/Meta-Llama-3.3-70B-Instruct-Turbo","match":{"equals":"meta-llama/Meta-Llama-3.3-70B-Instruct-Turbo"},"prices":{"input_mtok":0.88,"output_mtok":0.88}},{"id":"microsoft/WizardLM-2-8x22B","match":{"equals":"microsoft/WizardLM-2-8x22B"},"prices":{"input_mtok":1.2,"output_mtok":1.2}},{"id":"microsoft/phi-2","match":{"equals":"microsoft/phi-2"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"mistralai/Mistral-7B-Instruct-v0.1","match":{"equals":"mistralai/Mistral-7B-Instruct-v0.1"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"mistralai/Mistral-7B-Instruct-v0.2","match":{"equals":"mistralai/Mistral-7B-Instruct-v0.2"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"mistralai/Mistral-7B-v0.1","match":{"equals":"mistralai/Mistral-7B-v0.1"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"mistralai/Mixtral-8x22B-Instruct-v0.1","match":{"equals":"mistralai/Mixtral-8x22B-Instruct-v0.1"},"prices":{"input_mtok":2.4,"output_mtok":2.4}},{"id":"mistralai/Mixtral-8x7B-Instruct-v0.1","match":{"equals":"mistralai/Mixtral-8x7B-Instruct-v0.1"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"mistralai/Mixtral-8x7B-v0.1","match":{"equals":"mistralai/Mixtral-8x7B-v0.1"},"prices":{"input_mtok":0.9,"output_mtok":0.9}},{"id":"openchat/openchat-3.5-1210","match":{"equals":"openchat/openchat-3.5-1210"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"snorkelai/Snorkel-Mistral-PairRM-DPO","match":{"equals":"snorkelai/Snorkel-Mistral-PairRM-DPO"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"teknium/OpenHermes-2-Mistral-7B","match":{"equals":"teknium/OpenHermes-2-Mistral-7B"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"teknium/OpenHermes-2p5-Mistral-7B","match":{"equals":"teknium/OpenHermes-2p5-Mistral-7B"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"togethercomputer/GPT-JT-Moderation-6B","match":{"equals":"togethercomputer/GPT-JT-Moderation-6B"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"togethercomputer/Llama-2-7B-32K-Instruct","match":{"equals":"togethercomputer/Llama-2-7B-32K-Instruct"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"togethercomputer/RedPajama-INCITE-7B-Base","match":{"equals":"togethercomputer/RedPajama-INCITE-7B-Base"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"togethercomputer/RedPajama-INCITE-7B-Chat","match":{"equals":"togethercomputer/RedPajama-INCITE-7B-Chat"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"togethercomputer/RedPajama-INCITE-7B-Instruct","match":{"equals":"togethercomputer/RedPajama-INCITE-7B-Instruct"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"togethercomputer/RedPajama-INCITE-Base-3B-v1","match":{"equals":"togethercomputer/RedPajama-INCITE-Base-3B-v1"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"togethercomputer/RedPajama-INCITE-Chat-3B-v1","match":{"equals":"togethercomputer/RedPajama-INCITE-Chat-3B-v1"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"togethercomputer/RedPajama-INCITE-Instruct-3B-v1","match":{"equals":"togethercomputer/RedPajama-INCITE-Instruct-3B-v1"},"prices":{"input_mtok":0.1,"output_mtok":0.1}},{"id":"togethercomputer/StripedHyena-Hessian-7B","match":{"equals":"togethercomputer/StripedHyena-Hessian-7B"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"togethercomputer/StripedHyena-Nous-7B","match":{"equals":"togethercomputer/StripedHyena-Nous-7B"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"togethercomputer/alpaca-7b","match":{"equals":"togethercomputer/alpaca-7b"},"prices":{"input_mtok":0.2,"output_mtok":0.2}},{"id":"upstage/SOLAR-10.7B-Instruct-v1.0","match":{"equals":"upstage/SOLAR-10.7B-Instruct-v1.0"},"prices":{"input_mtok":0.3,"output_mtok":0.3}},{"id":"zero-one-ai/Yi-34B","match":{"equals":"zero-one-ai/Yi-34B"},"prices":{"input_mtok":0.8,"output_mtok":0.8}},{"id":"zero-one-ai/Yi-6B","match":{"equals":"zero-one-ai/Yi-6B"},"prices":{"input_mtok":0.2,"output_mtok":0.2}}]},{"id":"voyageai","name":"Voyage AI","pricing_urls":["https://docs.voyageai.com/docs/pricing"],"api_pattern":"https://api\\.voyageai\\.com","model_match":{"starts_with":"voyage-"},"provider_match":{"contains":"voyage"},"models":[{"id":"voyage-01","match":{"equals":"voyage-01"},"prices":{"input_mtok":0.1},"deprecated":true},{"id":"voyage-02","match":{"equals":"voyage-02"},"prices":{"input_mtok":0.1},"deprecated":true},{"id":"voyage-2","match":{"equals":"voyage-2"},"prices":{"input_mtok":0.1}},{"id":"voyage-3","match":{"equals":"voyage-3"},"prices":{"input_mtok":0.06}},{"id":"voyage-3-large","match":{"equals":"voyage-3-large"},"prices":{"input_mtok":0.18}},{"id":"voyage-3-lite","match":{"equals":"voyage-3-lite"},"prices":{"input_mtok":0.02}},{"id":"voyage-3.5","match":{"equals":"voyage-3.5"},"prices":{"input_mtok":0.06}},{"id":"voyage-3.5-lite","match":{"equals":"voyage-3.5-lite"},"prices":{"input_mtok":0.02}},{"id":"voyage-4","match":{"equals":"voyage-4"},"prices":{"input_mtok":0.06}},{"id":"voyage-4-large","match":{"equals":"voyage-4-large"},"prices":{"input_mtok":0.12}},{"id":"voyage-4-lite","match":{"equals":"voyage-4-lite"},"prices":{"input_mtok":0.02}},{"id":"voyage-code-2","match":{"equals":"voyage-code-2"},"prices":{"input_mtok":0.12}},{"id":"voyage-code-3","match":{"equals":"voyage-code-3"},"prices":{"input_mtok":0.18}},{"id":"voyage-context-3","match":{"equals":"voyage-context-3"},"prices":{"input_mtok":0.18}},{"id":"voyage-finance-2","match":{"equals":"voyage-finance-2"},"prices":{"input_mtok":0.12}},{"id":"voyage-large-2","match":{"equals":"voyage-large-2"},"prices":{"input_mtok":0.12}},{"id":"voyage-large-2-instruct","match":{"equals":"voyage-large-2-instruct"},"prices":{"input_mtok":0.12}},{"id":"voyage-law-2","match":{"equals":"voyage-law-2"},"prices":{"input_mtok":0.12}},{"id":"voyage-lite-01","match":{"equals":"voyage-lite-01"},"prices":{"input_mtok":0.1},"deprecated":true},{"id":"voyage-lite-01-instruct","match":{"equals":"voyage-lite-01-instruct"},"prices":{"input_mtok":0.1},"deprecated":true},{"id":"voyage-lite-02-instruct","match":{"equals":"voyage-lite-02-instruct"},"prices":{"input_mtok":0.1},"deprecated":true},{"id":"voyage-multilingual-2","match":{"equals":"voyage-multilingual-2"},"prices":{"input_mtok":0.12}}]},{"id":"x-ai","name":"X AI","pricing_urls":["https://docs.x.ai/docs/models"],"api_pattern":"https://api\\.x\\.ai","model_match":{"contains":"grok"},"provider_match":{"equals":"xai"},"extractors":[{"api_flavor":"default","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":"cached_prompt_text_tokens","dest":"cache_read_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]},{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":["completion_tokens_details","audio_tokens"],"dest":"output_audio_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"grok-2-1212","match":{"or":[{"equals":"grok-2-1212"},{"equals":"grok-2"},{"equals":"grok-2-latest"}]},"context_window":32768,"prices":{"input_mtok":2,"output_mtok":10},"deprecated":true},{"id":"grok-2-vision-1212","match":{"or":[{"equals":"grok-2-vision-1212"},{"equals":"grok-2-vision"},{"equals":"grok-2-vision-latest"}]},"context_window":32768,"prices":{"input_mtok":2,"output_mtok":10}},{"id":"grok-3","match":{"or":[{"equals":"grok-3"},{"equals":"grok-3-latest"},{"equals":"grok-3-beta"}]},"context_window":131072,"prices":{"input_mtok":3,"cache_read_mtok":0.75,"output_mtok":15}},{"id":"grok-3-fast","match":{"or":[{"equals":"grok-3-fast"},{"equals":"grok-3-fast-latest"},{"equals":"grok-3-fast-beta"}]},"context_window":131072,"prices":{"input_mtok":5,"cache_read_mtok":1.25,"output_mtok":25}},{"id":"grok-3-mini","match":{"or":[{"equals":"grok-3-mini"},{"equals":"grok-3-mini-beta"},{"equals":"grok-3-mini-latest"}]},"context_window":131072,"prices":{"input_mtok":0.3,"cache_read_mtok":0.075,"output_mtok":0.5}},{"id":"grok-3-mini-fast","match":{"or":[{"equals":"grok-3-mini-fast"},{"equals":"grok-3-mini-fast-beta"},{"equals":"grok-3-mini-fast-latest"}]},"context_window":131072,"prices":{"input_mtok":0.6,"cache_read_mtok":0.15,"output_mtok":4}},{"id":"grok-4-0709","match":{"or":[{"equals":"grok-4-0709"},{"equals":"grok-4"},{"equals":"grok-4-latest"}]},"context_window":256000,"prices":{"input_mtok":3,"cache_read_mtok":0.75,"output_mtok":15}},{"id":"grok-4-1-fast-non-reasoning","match":{"or":[{"equals":"grok-4-1-fast-non-reasoning"},{"equals":"grok-4-1-fast-non-reasoning-latest"}]},"context_window":2000000,"prices":{"input_mtok":0.2,"cache_read_mtok":0.05,"output_mtok":0.5}},{"id":"grok-4-1-fast-reasoning","match":{"or":[{"equals":"grok-4-1-fast"},{"equals":"grok-4-1-fast-reasoning"},{"equals":"grok-4-1-fast-reasoning-latest"}]},"context_window":2000000,"prices":{"input_mtok":0.2,"cache_read_mtok":0.05,"output_mtok":0.5}},{"id":"grok-4-fast-non-reasoning","match":{"or":[{"equals":"grok-4-fast-non-reasoning"},{"equals":"grok-4-fast-non-reasoning-latest"}]},"context_window":2000000,"prices":{"input_mtok":0.2,"cache_read_mtok":0.05,"output_mtok":0.5}},{"id":"grok-4-fast-reasoning","match":{"or":[{"equals":"grok-4-fast"},{"equals":"grok-4-fast-reasoning"},{"equals":"grok-4-fast-reasoning-latest"}]},"context_window":2000000,"prices":{"input_mtok":0.2,"cache_read_mtok":0.05,"output_mtok":0.5}},{"id":"grok-4.20","match":{"equals":"grok-4.20"},"prices":{"input_mtok":1.25,"cache_read_mtok":0.2,"output_mtok":2.5}},{"id":"grok-4.20-multi-agent","match":{"equals":"grok-4.20-multi-agent"},"prices":{"input_mtok":2,"cache_read_mtok":0.2,"output_mtok":6}},{"id":"grok-4.3","match":{"or":[{"equals":"grok-4.3"},{"regex":"^grok-4\\.3-\\d{8}$"},{"equals":"x-ai/grok-4.3"},{"regex":"^x-ai/grok-4\\.3-\\d{8}$"},{"equals":"grok-4.3-latest"}]},"context_window":1000000,"prices":{"input_mtok":1.25,"cache_read_mtok":0.2,"output_mtok":2.5}},{"id":"grok-4.5","match":{"or":[{"equals":"grok-4.5"},{"regex":"^grok-4\\.5-\\d{8}$"},{"equals":"x-ai/grok-4.5"},{"regex":"^x-ai/grok-4\\.5-\\d{8}$"},{"equals":"grok-4.5-latest"},{"equals":"grok-latest"}]},"context_window":500000,"prices":{"input_mtok":2,"cache_read_mtok":0.5,"output_mtok":6}},{"id":"grok-build-0.1","match":{"equals":"grok-build-0.1"},"prices":{"input_mtok":1,"cache_read_mtok":0.2,"output_mtok":2}},{"id":"grok-code-fast-1","match":{"or":[{"equals":"grok-code-fast"},{"equals":"grok-code-fast-1"},{"equals":"grok-code-fast-1-0825"}]},"context_window":256000,"prices":{"input_mtok":0.2,"cache_read_mtok":0.02,"output_mtok":1.5}}]},{"id":"zhipuai","name":"Zhipu AI","pricing_urls":["https://open.bigmodel.cn/pricing","https://docs.bigmodel.cn/cn/guide/start/model-overview"],"api_pattern":"https://open\\.bigmodel\\.cn","model_match":{"or":[{"starts_with":"GLM-"},{"starts_with":"glm-"}]},"extractors":[{"api_flavor":"chat","root":"usage","model_path":"model","mappings":[{"path":"prompt_tokens","dest":"input_tokens","required":true},{"path":["prompt_tokens_details","cached_tokens"],"dest":"cache_read_tokens","required":false},{"path":"completion_tokens","dest":"output_tokens","required":true}]}],"models":[{"id":"GLM-4-Air","match":{"or":[{"equals":"GLM-4-Air"},{"equals":"glm-4-air"}]},"context_window":128000,"prices":{"input_mtok":0.069,"cache_read_mtok":0.034,"output_mtok":0.069}},{"id":"GLM-4-AirX","match":{"or":[{"equals":"GLM-4-AirX"},{"equals":"glm-4-airx"}]},"context_window":8000,"prices":{"input_mtok":1.379,"output_mtok":1.379}},{"id":"GLM-4-Assistant","match":{"or":[{"equals":"GLM-4-Assistant"},{"equals":"glm-4-assistant"}]},"context_window":128000,"prices":{"input_mtok":0.69,"output_mtok":0.69}},{"id":"GLM-4-FlashX-250414","match":{"or":[{"equals":"GLM-4-FlashX-250414"},{"equals":"glm-4-flashx-250414"}]},"context_window":128000,"prices":{"input_mtok":0.014,"cache_read_mtok":0.007,"output_mtok":0.014}},{"id":"GLM-4-Long","match":{"or":[{"equals":"GLM-4-Long"},{"equals":"glm-4-long"}]},"context_window":1000000,"prices":{"input_mtok":0.138,"cache_read_mtok":0.069,"output_mtok":0.138}},{"id":"GLM-4-Plus","match":{"or":[{"equals":"GLM-4-Plus"},{"equals":"glm-4-plus"}]},"context_window":128000,"prices":{"input_mtok":0.69,"cache_read_mtok":0.345,"output_mtok":0.69}},{"id":"GLM-4.5-Air","match":{"or":[{"equals":"GLM-4.5-Air"},{"equals":"glm-4.5-air"}]},"context_window":128000,"prices":{"input_mtok":0.11,"cache_read_mtok":0.022,"output_mtok":0.276}},{"id":"GLM-4.7","match":{"or":[{"equals":"GLM-4.7"},{"equals":"glm-4.7"}]},"context_window":200000,"prices":{"input_mtok":0.276,"cache_read_mtok":0.055,"output_mtok":1.103}},{"id":"GLM-4.7-FlashX","match":{"or":[{"equals":"GLM-4.7-FlashX"},{"equals":"glm-4.7-flashx"}]},"context_window":200000,"prices":{"input_mtok":0.069,"cache_read_mtok":0.014,"output_mtok":0.414}},{"id":"GLM-5","match":{"or":[{"equals":"GLM-5"},{"equals":"glm-5"}]},"context_window":200000,"prices":{"input_mtok":0.552,"cache_read_mtok":0.138,"output_mtok":2.483}},{"id":"GLM-5-Turbo","match":{"or":[{"equals":"GLM-5-Turbo"},{"equals":"glm-5-turbo"}]},"context_window":200000,"prices":{"input_mtok":0.69,"cache_read_mtok":0.166,"output_mtok":3.034}},{"id":"GLM-5.1","match":{"or":[{"equals":"GLM-5.1"},{"equals":"glm-5.1"},{"equals":"GLM-5.1-20260406"},{"equals":"glm-5.1-20260406"}]},"context_window":200000,"prices":{"input_mtok":0.828,"cache_read_mtok":0.179,"output_mtok":3.31}},{"id":"GLM-5.2","match":{"or":[{"equals":"GLM-5.2"},{"equals":"glm-5.2"}]},"context_window":1000000,"prices":{"input_mtok":1.103,"cache_read_mtok":0.276,"output_mtok":3.862}}]}]