Files
2026-07-13 12:28:55 +08:00

19 lines
1.0 KiB
TOML

# Reasoning HTTP format (accessed 2026-06-25):
# OpenAI Chat: POST https://api.deepinfra.com/v1/openai/chat/completions
# (also POST /v1/chat/completions). Toggle: reasoning.enabled = true|false;
# reasoning_effort = "none" also disables. Effort: reasoning_effort or
# reasoning.effort = "low"|"medium"|"high"|"xhigh". Token budget: not documented.
# Anthropic Messages: POST https://api.deepinfra.com/anthropic/v1/messages;
# toggle: thinking.enabled = true|false; effort and token budget: not documented.
# Native: POST https://api.deepinfra.com/v1/inference/{model_name}; request fields
# are model-schema-specific, with no shared reasoning control documented.
# Sources:
# https://docs.deepinfra.com/chat/reasoning
# https://docs.deepinfra.com/api-reference/chat-completions/openai-chat-completions
# https://docs.deepinfra.com/api-reference/chat-completions/anthropic-messages
# https://docs.deepinfra.com/apis/deepinfra-native
name = "Deep Infra"
env = ["DEEPINFRA_API_KEY"]
npm = "@ai-sdk/deepinfra"
doc = "https://deepinfra.com/models"