LLM ReferenceLLM Reference
OpenRouter

Using GPT-4.1 Nano on OpenRouter

Implementation guide · GPT-4.1 · OpenAI

Serverless

Quick Start

  1. 1
    Create an account at OpenRouter and generate an API key.
  2. 2
    Use the OpenRouter SDK or REST API to call openai/gpt-4.1-nano — see the documentation for request format.
  3. 3
    You'll be billed $0.10/1M input, $0.40/1M output tokens. See full pricing.

About OpenRouter

OpenRouter provides a unified interface for Large Language Models with better pricing, improved uptime, and no subscription requirements. Route across providers for cost optimization and reliability.

Multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.

Pricing on OpenRouter

TypePrice (per 1M)
Input tokens$0.10
Output tokens$0.40

Capabilities

VisionMultimodalReasoningFunction CallingTool UseStructured OutputsCode Execution

About GPT-4.1 Nano

Fastest and most cost-effective GPT-4.1 variant from OpenAI. Released April 2025 alongside GPT-4.1 and GPT-4.1 Mini. 1 million token context window optimized for high-volume applications.

Model Specs

Released2025-04-01
Context1M
ArchitectureDecoder Only
Knowledge cutoff2025-01

Provider

OpenRouter
OpenRouter

OpenRouter, Inc.

New York, NY, USA