OpenRouter модель

PHI 4 Mini Instruct

PHI 4 Mini Instruct. Порівняйте ціни API, провайдера, довжину контексту, можливості, use cases, затримку й альтернативи. General chat via OpenRouter, API workloads. $0.016 / 1M tokens / $0.067 / 1M tokens. — tokens.

OpenRouterPlatform curatedCatalog
Streaming
Ціна input$0.016 / 1M tokens
Ціна output$0.067 / 1M tokens
Довжина контексту— tokens
Макс output8.2k tokens

Що таке PHI 4 Mini Instruct у NextModel?

PHI 4 Mini Instruct. Порівняйте ціни API, провайдера, довжину контексту, можливості, use cases, затримку й альтернативи. General chat via OpenRouter, API workloads. $0.016 / 1M tokens / $0.067 / 1M tokens. — tokens.

Найкращі сценарії

  • General chat via OpenRouter
  • API workloads

Приклад OpenAI-compatible

Збережіть стиль OpenAI SDK, направте base_url на NextModel і використайте ID каталогу microsoft--phi-4-mini-instruct.

Python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.nextmodel.app/v1"
)

resp = client.chat.completions.create(
    model="microsoft/phi-4-mini-instruct",
    messages=[{"role": "user", "content": "Hello from NextModel"}]
)

print(resp.choices[0].message.content)

Схожі альтернативи

OpenRouterCatalog

Available through the NextModel gateway via OpenRouter.

$0.752 / 1M tokensInput$1.50 / 1M tokensOutputContext
Best forGeneral chat via OpenRouter, API workloads
RoutingDegraded
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenRouterCatalog

Available through the NextModel gateway via OpenRouter.

$0.132 / 1M tokensInput$0.263 / 1M tokensOutputContext
Best forGeneral chat via OpenRouter, API workloads
RoutingDegraded
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenRouterCatalog

Aion-RP-Llama-3.1-8B ranks the highest in the character evaluation portion of the RPBench-Auto benchmark, a roleplaying-specific variant of Arena-Hard-Auto, where LLMs evaluate each other’s responses. It is a fine-tuned base model...

$0.152 / 1M tokensInput$0.302 / 1M tokensOutput32.8kContext
Best forGeneral chat via OpenRouter, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details

FAQ

PHI 4 Mini Instruct FAQ