Skip to main content

openai/text-embedding-3-small/embedding

text-embedding-3-small turns notes and document passages into compact search vectors, with 1,536 dimensions by default and optional shorter output.

From $0.000004/1,000 tokens80% below the publisher's list price

Workbench

These examples were written for this endpoint. Replace the prompt and sample media URLs with your own accessible inputs, then check the current quote and model availability before submitting.

  • Model reply

    {"data":[{"embedding":[0.52685546875,0.419189453125,0.6533203125,-0.0018758773803710938,-0.25048828125,-0.0029315948486328125,0.2252197265625,-0.07879638671875],"index":0},{"embedding":[-0.0767822265625,0.150146484375,0.52099609375,0.15771484375,-0.184814453125,0.0173492431640625,-0.5791015625,-0.55224609375],"index":1}],"inputTokens":12}

    Worked example
    • 8
  • Model reply

    {"data":[{"embedding":[0.1942138671875,-0.360107421875,0.322509765625,0.2464599609375,-0.433349609375,-0.1500244140625,-0.0189361572265625,0.6767578125],"index":0},{"embedding":[0.468994140625,-0.05853271484375,-0.285400390625,0.053375244140625,0.325927734375,-0.255126953125,-0.28271484375,0.66357421875],"index":1}],"inputTokens":18}

    Match a support question
    • 8
  • Model reply

    {"data":[{"embedding":[0.11627197265625,0.084228515625,0.1947021484375,-0.74755859375,-0.26708984375,0.299560546875,0.1263427734375,0.453857421875],"index":0},{"embedding":[-0.7783203125,0.06536865234375,0.15576171875,-0.332763671875,-0.1524658203125,-0.08197021484375,0.157470703125,0.44677734375],"index":1}],"inputTokens":15}

    Compare travel notes
    • 8

This example starts at $0.000004 per 1,000 tokens. The Playground updates the estimate when you change the settings.