gpt2-xl
transformerspytorchtfjaxrustsafetensorsgpt2text-generationenarxiv:1910.09700license:mittext-generation-inferenceendpoints_compatibledeploy:sagemakerdeploy:azureregion:us
Context
1,024 tokens
Max Output
512 tokens
Released
3/2/2022
Providers
1
Overview
gpt2-xl is a large language model developed by openai-community. It supports 1,024 tokens context and is available through 1 API provider(s).
Key Highlights
- Unknown / Not disclosed
Brand
openai-community
Community
View all models, pricing and details from openai-community.
Specifications
Basic Information
| Model | gpt2-xl |
| Brand | openai-community |
| Version | 2 |
| Model Type | transformers |
| Status | stable |
| Released | 3/2/2022 |
| Popularity | 105257 |
Architecture
| Parameter Size | 1.6B |
| Architecture Type | gpt2 |
| Attention Mechanism | causal-mha |
| Tokenizer | Unknown / Not disclosed |
| Vocabulary Size | Unknown / Not disclosed |
Context & I/O
| Context | 1,024 tokens |
| Max Output | 512 tokens |
| Modalities | Unknown / Not disclosed |
| Languages | en |
Capabilities
| Vision | No |
| Audio | No |
| Reasoning | No |
| Function Call | No |
| MCP | No |
| JSON Mode | No |
| Embedding | No |
Training Data
| Training Dataset | Unknown / Not disclosed |
| Estimated Data Size | Unknown / Not disclosed |
| Knowledge Cutoff | Unknown / Not disclosed |
Inference & Deployment
| API Access | Yes |
| VRAM Estimate | Unknown / Not disclosed |
| Quantization Support | Unknown / Not disclosed |
| Hardware Requirements | Unknown / Not disclosed |
Safety & Compliance
| Safety Evaluations | Unknown / Not disclosed |
| Content Policy | Unknown / Not disclosed |
| Region Restrictions | Unknown / Not disclosed |
License & Pricing
| License | mit |
| Commercial Use | Unknown / Not disclosed |
| Open Source | Yes |
Provider & Pricing
| Provider | Input | Output | Cache | Batch | Website |
|---|---|---|---|---|---|
| openai-community | $0.000/1M | $0.000/1M | - | - | Visit Website |
Price Changes
No recorded price changes.
Benchmarks
No benchmark data available.
Changelog
- Page created / data imported9/23/2026
- Last updated9/23/2026
Frequently Asked Questions
What is gpt2-xl?
gpt2-xl is a large language model developed by openai-community.
Who developed gpt2-xl?
gpt2-xl was developed by openai-community. You can learn more on the brand page or official website.
What is the context length of gpt2-xl?
gpt2-xl supports up to 1,024 tokens of context.
How much does gpt2-xl API cost?
API pricing for gpt2-xl starts at $0.000/1M per 1M input tokens and $0.000/1M per 1M output tokens. See the pricing table above for provider-specific rates.