Skip to main content
POST
/
responses
t5-small: Responses
curl --request POST \
  --url https://api.zerogpu.ai/v1/responses \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-project-id: <api-key>' \
  --data '
{
  "input": "NASA announced that its Artemis III mission is now scheduled for late 2026, marking the first time astronauts will land on the lunar surface since Apollo 17 in 1972. The mission will send a crew of four to the Moon aboard the Orion spacecraft, with two astronauts descending to the south pole using SpaceX Starship as a lunar lander. Scientists are particularly excited about exploring permanently shadowed craters that may contain water ice, which could be critical for sustaining long-term human presence on the Moon.",
  "model": "t5-small"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.zerogpu.ai/llms.txt

Use this file to discover all available pages before exploring further.

Google’s T5-small introduced the text-to-text paradigm that changed how the industry thinks about NLP. At 60M parameters, it’s the most versatile encoder-decoder model in its class, pre-trained on the Colossal Clean Crawled Corpus (C4) and fine-tunable for virtually any text task with minimal data. Its encoder-decoder architecture makes it especially strong at tasks that require both understanding and generation, like summarization and rewriting. A proven workhorse that’s been battle-tested across millions of production deployments.
References: Model docsTermsPrivacy

Specifications

PropertyValue
Model IDt5-small
TaskSummarization
Typet5
Parameters60M
Version1
Max Tokens512
ProviderHugging Face
Input Price$0.05 / 1M
Output Price$0.40 / 1M
Total Price$0.45 / 1M

Try it

Send a live request with your x-api-key and x-project-id. Model is fixed to t5-small. Use request examples below to switch use cases (JSON extraction, NER, PII, and so on).

Authorizations

x-api-key
string
header
required
x-project-id
string
header
required

Body

application/json
input
string<textarea>
required

Multi-line text or document content to send to the model.

Required string length: 1 - 131072
instructions
string
metadata
object

Response

Success

The response is of type object.