{"input_schema":{"anyOf":[{"type":"string","minLength":1},{"type":"object","properties":{"messages":{"type":"array","minItems":1,"items":{"type":"object","properties":{"role":{"type":"string"},"content":{}},"required":["role"],"additionalProperties":true}}},"required":["messages"],"additionalProperties":true,"not":{"anyOf":[{"required":["wire"]},{"required":["path"]},{"required":["body"]}]}},{"type":"object","properties":{"wire":{"const":"openai"},"path":{"const":"/v1/chat/completions"},"body":{"type":"object","properties":{"messages":{"type":"array","minItems":1,"items":{"type":"object","properties":{"role":{"type":"string"},"content":{}},"required":["role"],"additionalProperties":true}}},"required":["messages"],"additionalProperties":true}},"required":["wire","path","body"],"additionalProperties":false},{"type":"object","properties":{"wire":{"const":"openai"},"path":{"const":"/v1/responses"},"body":{"type":"object","properties":{"input":{}},"required":["input"],"additionalProperties":true}},"required":["wire","path","body"],"additionalProperties":false},{"type":"object","properties":{"wire":{"const":"openai"},"path":{"const":"/v1/embeddings"},"body":{"type":"object","properties":{"input":{}},"required":["input"],"additionalProperties":true}},"required":["wire","path","body"],"additionalProperties":false}],"description":"Text uses the default native operation. A native object uses that same default; an explicit {wire,path,body} envelope selects a registered operation. The product supplies the model field."},"output_schema":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"null"}],"description":"Native response object when inline; larger and streaming output uses the Run artifact."},"addons_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"max_output_tokens":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Maps to native max_completion_tokens."},"temperature":{"type":"number","minimum":0,"maximum":2},"top_p":{"type":"number","minimum":0,"maximum":1},"stop":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"response_format":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Native format object for response_format; the selected model must support it."},"tools":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"tool_choice":{"anyOf":[{"type":"string"},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}]}},"additionalProperties":false,"description":"Conflicting fields in the native body are rejected. Tools and format objects use the selected native wire shape; model-specific restrictions still apply."},"native_operations":[{"wire":"openai","path":"/v1/chat/completions","default":true,"input_schema":{"type":"object","properties":{"messages":{"type":"array","minItems":1,"items":{"type":"object","properties":{"role":{"type":"string"},"content":{}},"required":["role"],"additionalProperties":true}}},"required":["messages"],"additionalProperties":true},"output_schema":{"type":"object","additionalProperties":true,"description":"Native openai response for /v1/chat/completions; streaming output is available through the Run artifact and events."},"addons_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"max_output_tokens":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Maps to native max_completion_tokens."},"temperature":{"type":"number","minimum":0,"maximum":2},"top_p":{"type":"number","minimum":0,"maximum":1},"stop":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"response_format":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Native format object for response_format; the selected model must support it."},"tools":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"tool_choice":{"anyOf":[{"type":"string"},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}]}},"additionalProperties":false,"description":"Conflicting fields in the native body are rejected. Tools and format objects use the selected native wire shape; model-specific restrictions still apply."}},{"wire":"openai","path":"/v1/responses","default":false,"input_schema":{"type":"object","properties":{"input":{}},"required":["input"],"additionalProperties":true},"output_schema":{"type":"object","additionalProperties":true,"description":"Native openai response for /v1/responses; streaming output is available through the Run artifact and events."},"addons_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"max_output_tokens":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Maps to native max_output_tokens."},"temperature":{"type":"number","minimum":0,"maximum":2},"top_p":{"type":"number","minimum":0,"maximum":1},"response_format":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Native format object for text.format; the selected model must support it."},"tools":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"tool_choice":{"anyOf":[{"type":"string"},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}]}},"additionalProperties":false,"description":"Conflicting fields in the native body are rejected. Tools and format objects use the selected native wire shape; model-specific restrictions still apply."}},{"wire":"openai","path":"/v1/embeddings","default":false,"input_schema":{"type":"object","properties":{"input":{}},"required":["input"],"additionalProperties":true},"output_schema":{"type":"object","additionalProperties":true,"description":"Native openai response for /v1/embeddings; streaming output is available through the Run artifact and events."},"addons_schema":{"type":"object","additionalProperties":false}}],"id":"qwen/qwen-flash","object":"model","owned_by":"qwen","type":"language","name":"Qwen Flash","description":"A speed- and cost-oriented model with switchable thinking mode.","context_length":997952,"max_output_tokens":32768,"input_modalities":["text"],"output_modalities":["text"],"wires":["openai"],"aliases":["qwen/qwen-flash","qwen-flash"],"pricing":{"input":"0.000000055","output":"0.00000044","input_cache_read":"0.000000011","input_cache_write":"0.000000055"},"list_pricing":{"input":"0.00000005","output":"0.0000004","input_cache_read":"0.00000001","input_cache_write":"0.00000005"},"pricing_tiers":[{"context_max_tokens":256000,"cache_mode":"implicit","thinking_mode":"default","pricing":{"input":"0.000000055","output":"0.00000044","input_cache_read":"0.000000011","input_cache_write":"0.000000055"},"list_pricing":{"input":"0.00000005","output":"0.0000004","input_cache_read":"0.00000001","input_cache_write":"0.00000005"}},{"context_max_tokens":256000,"cache_mode":"explicit","thinking_mode":"default","pricing":{"input":"0.000000055","output":"0.00000044","input_cache_read":"0.0000000055","input_cache_write":"0.00000006875"},"list_pricing":{"input":"0.00000005","output":"0.0000004","input_cache_read":"0.000000005","input_cache_write":"0.0000000625"}},{"context_max_tokens":1000000,"cache_mode":"implicit","thinking_mode":"default","pricing":{"input":"0.000000275","output":"0.0000022","input_cache_read":"0.000000055","input_cache_write":"0.000000275"},"list_pricing":{"input":"0.00000025","output":"0.000002","input_cache_read":"0.00000005","input_cache_write":"0.00000025"}},{"context_max_tokens":1000000,"cache_mode":"explicit","thinking_mode":"default","pricing":{"input":"0.000000275","output":"0.0000022","input_cache_read":"0.0000000275","input_cache_write":"0.00000034375"},"list_pricing":{"input":"0.00000025","output":"0.000002","input_cache_read":"0.000000025","input_cache_write":"0.0000003125"}}]}