{"id":"076350b7-ece4-499b-9eb1-100a7b53c57f","shortId":"8SQevp","kind":"x402","title":"x402-enabled AI chat completion gateway paying with USDC on Base","tagline":"x402-enabled AI chat completion gateway paying with USDC on Base","description":"xRouter API is a payment-enabled AI API gateway that uses the x402 protocol to accept USDC payments on the Base network. The `/v1/chat/completions` endpoint provides AI chat completion functionality via a standard OpenAI-compatible POST interface. The gateway also exposes free auxiliary endpoints: `/v1/models` to list available text models with pricing, and `/v1/estimate` to estimate the cost of a text completion before committing payment.\n\nBeyond text, xRouter offers image generation endpoints (`/v1/images/generate`, `/v1/images/models`, `/v1/images/estimate`), though this listing covers the chat completions endpoint specifically. The API self-describes as version 1.2.0 and runs on a Fastify-style server (based on the 404 error format). No formal OpenAPI schema or detailed documentation pages were found during crawling; the root endpoint serves a JSON manifest describing available routes.\n\nNote that during probing, the endpoint returned HTTP 400 (Bad Request) on POST rather than the expected 402 Payment Required challenge. This may indicate the endpoint requires a specific request body structure before issuing a payment challenge, or it could signal a configuration issue. Without a captured 402 challenge or detailed docs, the exact payment flow and supported models remain uncertain.","tags":[],"capabilities":["chat-completion","x402-payment","usdc-on-base","openai-compatible-api","cost-estimation","model-listing","image-generation"],"categories":["llm","payment"],"synonyms":["xRouter","x-router","AI chat API","x402 chat","USDC AI gateway","pay-per-request LLM","Base network AI","OpenAI compatible proxy"],"warnings":["Endpoint returned HTTP 400 on POST instead of the expected 402 payment challenge — liveness and payment flow unconfirmed","No OpenAPI schema, formal docs, or usage examples found","Supported models and per-request pricing are unknown — use /v1/models and /v1/estimate to discover at runtime","Example request body is inferred from OpenAI-compatible conventions, not confirmed by documentation"],"endpointUrl":"https://api.x-router.ai/v1/chat/completions","protocol":"x402","transport":"http","auth":{"type":"x402","details":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xEb4DA07Be74b26b2966b3cD07842cADE70E47D53","scheme":"exact","network":"base","mimeType":"application/json","resource":"https://api.x-router.ai/v1/chat/completions","description":"AI Chat Completion","outputSchema":{"input":{"type":"http","method":"POST","bodyType":"json","bodyFields":{"model":{"type":"string","description":"The AI model to use"},"stream":{"type":"boolean","description":"Enable streaming response"},"messages":{"type":"array","required":true,"description":"Array of message objects with role and content"},"max_tokens":{"type":"number","description":"Maximum tokens in response, 1-128000"},"temperature":{"type":"number","description":"Temperature for response randomness, 0-2"}},"discoverable":true},"output":{"model":{"type":"string","description":"Model used for generation"},"usage":{"type":"object","properties":{"total_tokens":{"type":"number","description":"Total tokens used"},"prompt_tokens":{"type":"number","description":"Number of tokens in the prompt"},"completion_tokens":{"type":"number","description":"Number of tokens in the completion"}}},"content":{"type":"string","description":"AI generated response content"}}},"maxAmountRequired":"135168","maxTimeoutSeconds":120}]},"qualityScore":"0.400","qualityRationale":"The root JSON manifest confirms the endpoint exists and describes the payment protocol (x402, USDC, Base). However, no 402 challenge was captured (endpoint returned 400), no OpenAPI schema or docs are available, no model list or pricing details were retrieved, and the example response is inferred from OpenAI conventions rather than observed. Significant uncertainty remains about liveness and exact payment flow.","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"anthropic/claude-opus-4.6","enrichmentVersion":2,"enrichedAt":"2026-04-18T19:16:32.124Z","embedding":[-0.023284912,-0.0066184998,0.040496826,0.006877899,0.015068054,-0.05014038,-0.0015201569,0.028717041,0.03604126,-0.02986145,0.021499634,-0.050079346,-0.040802002,-0.03253174,-0.04623413,0.0017633438,-0.050323486,-0.001455307,-0.029174805,0.072143555,0.058746338,-0.021514893,-0.019363403,0.020690918,-0.005264282,0.004257202,0.009025574,0.009407043,-0.023162842,-0.028915405,-0.0059318542,-0.023971558,-0.012680054,-0.003063202,0.016464233,0.019805908,-0.012924194,0.030639648,0.027130127,-0.0013532639,0.029754639,-0.029281616,0.023986816,0.008880615,-0.04348755,0.0067749023,0.011138916,-0.018356323,-0.033691406,-0.006843567,-0.046081543,0.040496826,-0.01600647,0.0033302307,0.010147095,0.01687622,-0.010696411,-0.01360321,0.016036987,0.017440796,0.021728516,-0.03753662,-0.005420685,-0.039276123,-0.0035934448,0.033477783,-0.03366089,0.023284912,-0.026824951,0.052734375,-0.0034542084,0.023910522,0.026565552,-0.018478394,0.02960205,-0.0259552,-0.02268982,0.06317139,0.010307312,-0.044281006,-0.035125732,-0.037719727,-0.020462036,-0.057403564,-0.015586853,-0.038360596,-0.038635254,0.02180481,-0.047454834,0.009124756,-0.047027588,0.0096206665,-0.022201538,-0.0058898926,0.031829834,-0.000073075294,-0.018508911,0.0032253265,0.019165039,0.0055618286,0.0067825317,-0.06274414,0.04208374,0.010910034,0.044799805,0.03439331,0.033996582,0.03970337,-0.023361206,-0.01209259,-0.032562256,-0.016403198,-0.048217773,-0.0026741028,0.013259888,-0.02482605,0.00093126297,0.013198853,-0.02935791,0.027069092,-0.009162903,0.07922363,0.036224365,-0.017089844,-0.0029754639,-0.016708374,-0.037902832,-0.014320374,-0.04888916,-0.0030460358,0.030593872,-0.013969421,0.005657196,-0.0569458,-0.037597656,0.0016555786,-0.017089844,-0.02230835,-0.06781006,0.004711151,-0.017807007,-0.014167786,-0.02255249,0.040496826,-0.117614746,-0.007980347,-0.041748047,-0.014259338,-0.04522705,-0.02973938,-0.01979065,-0.022628784,-0.031311035,-0.015159607,-0.022659302,-0.029220581,0.010414124,0.03918457,0.013587952,-0.007331848,-0.010025024,0.016220093,-0.012084961,-0.020965576,-0.018981934,-0.012237549,-0.004096985,-0.020095825,-0.06896973,-0.033477783,0.02394104,-0.008628845,-0.051818848,0.009101868,0.010055542,-0.05328369,-0.020355225,0.00040555,-0.007648468,-0.02809143,0.0057754517,0.009391785,0.015731812,0.016845703,-0.025375366,-0.028015137,-0.01928711,-0.011833191,0.01423645,0.027359009,0.03161621,0.0020141602,0.005882263,0.03829956,0.014335632,0.0016775131,0.0065345764,-0.030761719,0.068359375,-0.008056641,0.019714355,-0.018737793,0.05090332,0.064453125,0.00043535233,-0.018157959,0.021362305,-0.0019140244,-0.03591919,-0.015838623,0.030029297,-0.008872986,-0.009269714,0.017288208,-0.03326416,-0.045318604,-0.0026073456,0.013450623,-0.031677246,0.04046631,-0.01008606,0.007774353,0.0015029907,0.011428833,-0.032928467,0.0619812,0.061584473,-0.0007853508,-0.028671265,-0.02130127,0.021621704,0.02859497,-0.0592041,-0.015609741,-0.0066604614,-0.026824951,0.004310608,0.025741577,0.01965332,-0.0051193237,-0.025115967,-0.025131226,0.033111572,0.028060913,0.029434204,0.00034308434,-0.026397705,-0.08581543,0.049835205,0.022277832,0.015220642,0.041015625,0.0262146,-0.005455017,-0.028564453,-0.04714966,-0.009155273,0.041381836,-0.019973755,-0.030838013,0.042297363,0.019439697,-0.023513794,0.02357483,0.005821228,-0.029708862,0.0149002075,0.022338867,-0.0725708,-0.016433716,0.018600464,0.011238098,0.06616211,-0.023666382,-0.07611084,-0.014045715,-0.016311646,-0.015487671,-0.011207581,0.003540039,-0.0017204285,-0.006958008,0.040130615,0.00982666,0.014122009,0.02267456,0.028289795,-0.019577026,-0.0019760132,0.016830444,-0.000010192394,0.042877197,0.02659607,-0.039642334,0.018249512,0.011497498,0.05142212,-0.027450562,0.048919678,0.019958496,0.040649414,0.03781128,0.0034160614,-0.022094727,-0.011764526,0.057678223,-0.012794495,0.016677856,0.037078857,0.0033931732,-0.028137207,0.068847656,-0.03829956,-0.004211426,0.00466156,-0.0068969727,0.047332764,0.009017944,-0.024368286,-0.02331543,-0.027145386,-0.007980347,0.041992188,-0.044830322,-0.0132369995,0.010345459,0.024765015,-0.014877319,-0.026321411,-0.026901245,0.021270752,-0.015220642,0.040802002,-0.02748108,-0.013313293,0.016464233,-0.017425537,-0.010383606,-0.006969452,0.019363403,-0.016143799,-0.019943237,-0.045013428,-0.006996155,-0.018249512,0.022262573,0.0036945343,0.018310547,-0.017318726,0.021072388,-0.019577026,-0.011054993,0.0413208,-0.027954102,0.023727417,0.03036499,-0.0135650635,-0.047546387,-0.04449463,-0.010063171,-0.033477783,0.04849243,-0.018493652,0.009849548,0.017181396,-0.00030374527,-0.0141067505,-0.0055999756,-0.015396118,-0.03363037,-0.022155762,0.01701355,-0.033569336,-0.02168274,-0.0007390976,-0.0073013306,-0.008224487,0.0046653748,0.023284912,0.03665161,0.035705566,0.015975952,-0.005683899,-0.028869629,0.006526947,0.0021743774,-0.0057792664,0.0048828125,-0.0259552,-0.011474609,0.007965088,-0.033843994,-0.012809753,-0.039031982,0.048980713,0.04586792,0.072631836,-0.024230957,0.022918701,0.06384277,0.0043640137,0.013008118,-0.023468018,0.008178711,-0.031143188,-0.029022217,0.026473999,-0.03149414,-0.0051078796,0.013168335,0.05419922,-0.026992798,-0.0038108826,-0.03955078,0.041259766,-0.014587402,-0.004676819,-0.02305603,0.021148682,0.044555664,0.031341553,-0.067871094,-0.013977051,0.02859497,-0.030944824,0.016525269,0.0178833,-0.011604309,-0.009346008,-0.025024414,-0.04736328,0.0048294067,0.03250122,-0.05758667,0.01574707,0.0019292831,0.04034424,0.01285553,-0.012954712,-0.025772095,0.0068969727,-0.026626587,-0.060791016,-0.024551392,-0.050872803,-0.013793945,0.005844116,-0.0015916824,-0.014816284,-0.008773804,-0.046447754,-0.0024490356,0.012161255,0.03466797,-0.009498596,-0.053527832,0.04748535,0.013793945,-0.007686615,0.014778137,0.038970947,0.05657959,0.00969696,-0.0029067993,0.03048706,0.046875,-0.027664185,0.03793335,-0.0050811768,0.0076560974,-0.015640259,-0.024795532,0.0075416565,-0.030441284,0.0033874512,-0.01701355,0.044525146,-0.0049934387,-0.005783081,0.045043945,-0.07965088,-0.028747559,-0.05029297,-0.019454956,0.005126953,0.09564209,-0.0284729,-0.012199402,-0.019378662,0.034729004,0.00504303,0.0110321045,0.008384705,-0.0135650635,0.013420105,-0.008071899,-0.008560181,-0.006832123,-0.024993896,0.021865845,-0.054138184,-0.025543213,0.016281128,-0.03817749,-0.03363037,-0.008903503,-0.017440796,0.020690918,-0.01335907,-0.0049324036,-0.013282776,0.004852295,0.009857178,-0.0030574799,-0.038757324,0.041137695,-0.028518677,0.03353882,-0.014526367,-0.012298584,-0.010719299,0.007904053,0.04168701,-0.021255493,0.012863159,0.011955261,-0.03918457,-0.11407471,0.018127441,0.017471313,0.052337646,0.013832092,0.024658203,0.050567627,-0.03491211,-0.02458191,-0.0031909943,-0.012252808,-0.014930725,-0.015434265,-0.03640747,0.015457153,0.028793335,0.0025920868,0.018112183,0.021102905,0.0026817322,-0.027832031,0.007949829,0.001830101,0.021072388,-0.01802063,0.0076179504,-0.0031337738,0.024093628,0.039611816,-0.012802124,-0.028320312,0.018081665,-0.02684021,0.0038585663,0.00573349,0.013877869,0.00015306473,-0.0037326813,0.01727295,-0.019424438,-0.0035305023,-0.03829956,-0.010932922,-0.017456055,0.011276245,0.0058288574,-0.031097412,0.020141602,-0.0061836243,-0.023284912,-0.014839172,-0.012611389,0.019073486,-0.04458618,0.014282227,0.021621704,0.06854248,-0.05532837,-0.005683899,-0.019424438,0.024719238,0.013092041,0.044067383,0.025939941,-0.016860962,-0.0050697327,0.014854431,-0.014167786,-0.031677246,0.014930725,0.008659363,-0.001294136,0.021133423,0.028137207,-0.019256592,-0.0110321045,-0.012397766,0.0021800995,-0.03829956,0.02444458,-0.008102417,0.007381439,-0.0013399124,0.035186768,0.0054130554,-0.028137207,-0.00415802,0.0096588135,0.037475586,-0.022644043,-0.0073051453,0.03543091,-0.009117126,0.03086853,-0.045715332,-0.0053253174,0.020401001,0.016525269,-0.003004074,-0.042907715,-0.04421997,-0.015960693,0.025726318,0.03112793,-0.003709793,0.021484375,-0.008049011,-0.014724731,-0.0032196045,0.02255249,-0.020401001,-0.006008148,-0.05441284,-0.0071372986,-0.0035743713,-0.0006904602,-0.038146973,0.020248413,-0.013198853,-0.021148682,0.0031108856,-0.00014317036,0.01687622,-0.032714844,-0.0072746277,0.04336548,-0.011978149,0.024536133,-0.014564514,-0.03479004,0.030792236,0.03829956,0.013534546,-0.047210693,0.007083893,-0.0064086914,0.012908936,-0.025802612,0.035095215,0.0054473877,0.04547119,0.00894165,0.038085938,-0.036743164,0.041809082,0.00749588,0.013832092,0.015563965,-0.03704834,0.010391235,-0.036956787,0.038238525,-0.011680603,-0.046691895,0.003627777,-0.03427124,-0.009841919,0.001156807,-0.030944824,0.03543091,0.0044136047,0.016036987,-0.030090332,-0.004699707,0.00982666,0.012359619,-0.012168884,-0.01083374,0.030593872,0.023666382,0.04840088,-0.015808105,-0.008056641,-0.027755737,0.008506775,0.037841797,-0.057525635,-0.032287598,-0.03475952,-0.0026474,0.016113281,0.0127334595,0.01335907,-0.029129028,-0.012184143,-0.017318726,0.009643555,0.005569458,0.04360962,-0.0008506775,-0.011123657,-0.022247314,-0.020492554,-0.03540039,0.022033691,0.004096985,-0.009124756,-0.054260254,-0.03237915,0.0062332153,0.0047912598,-0.033447266,-0.022033691,0.009300232,-0.0357666,-0.036224365,0.005317688,0.010803223,0.023620605,0.004032135,0.004760742,-0.05697632,-0.009880066,-0.02142334,-0.013496399,-0.0064849854,0.02229309,0.0024147034,-0.011543274,0.021575928,0.01727295,0.0065994263,-0.031799316,-0.0042266846,0.009765625,0.01096344,-0.0007081032,0.000029981136,-0.0006866455,0.0024852753,-0.012741089,0.0048446655,0.017669678,-0.0025939941,0.0084991455,-0.025756836,0.024169922,0.0030403137,-0.0037956238,-0.01914978,-0.025558472,0.05871582,0.016952515,-0.015914917,-0.016998291,-0.009605408,0.026489258,0.037384033,-0.025024414,0.028640747,-0.010169983,0.02633667,-0.03591919,0.011016846,0.013008118,0.0184021,-0.013801575,-0.040649414,0.01940918,-0.00881958,0.014434814,-0.04244995,-0.012016296,-0.061828613,-0.0056915283,-0.010978699,-0.03640747,0.005104065,0.0011587143,-0.02003479,-0.099609375,-0.0036907196,0.042297363,0.005859375,0.049072266,-0.0039978027,-0.015548706,0.0184021,0.00013363361,-0.01965332,0.0015125275,-0.0074501038,-0.036224365,-0.0024681091,0.034454346,-0.050476074,-0.024353027,0.011123657,0.03390503,-0.003921509,-0.019729614,0.009681702,-0.0069274902,0.020111084,-0.002439499,-0.006526947,-0.008560181,0.0041389465,0.045806885,-0.019088745,0.022506714,-0.00040888786,-0.012367249,0.021636963,0.014282227,0.058258057,-0.035980225,-0.01335144,0.029296875,-0.017120361,0.015563965,-0.035339355,0.06933594,-0.006378174,0.00074386597,-0.0035991669,0.008880615,-0.021194458,-0.020690918,-0.050720215,0.0063476562,0.011108398,-0.0013170242,-0.013198853,-0.0025787354,0.012008667,0.02798462,0.028396606,0.003622055,-0.023071289,-0.012199402,0.017120361,0.01626587,0.015419006,-0.005039215,0.0124435425,-0.005168915,0.05166626,0.020050049,-0.018173218,-0.012481689,0.030944824,-0.014663696,0.027359009,0.03387451,0.028167725,0.0021762848,0.0418396,0.049957275,-0.02104187,-0.018997192,-0.016571045,-0.008255005,0.0041999817,-0.028564453,-0.017089844,0.018157959,-0.0032730103,0.008277893,-0.03616333,0.016082764,-0.028823853,0.014472961,-0.008659363,0.015563965,0.021865845,-0.0058174133,-0.023422241,0.022369385,-0.019577026,0.051971436,-0.0024852753,-0.04031372,0.025146484,0.027526855,-0.0043029785,-0.016174316,-0.0010652542,0.004463196,-0.013938904,0.008148193,0.007282257,0.005443573,0.0044441223,-0.015312195,0.03201294,0.015220642,0.009124756,0.009544373,-0.031707764,0.001958847,0.016204834,-0.0027675629,0.031311035,-0.03857422,0.011810303,0.011123657,-0.013473511,0.008796692,-0.0021190643,-0.022994995,-0.015640259,0.004371643,0.015045166,0.00010508299,-0.005115509,0.026992798,-0.023361206,-0.026947021,-0.013916016,-0.0063819885,-0.032348633,0.00818634,-0.0007047653,0.0005440712,0.00655365,-0.019607544,-0.008766174,-0.04852295,-0.011276245,0.027359009,0.0070648193,0.019302368,0.0070228577,0.02381897,-0.011253357,-0.0028743744,0.0048446655,0.0017032623,0.043884277,0.05859375,0.02760315,0.022033691,0.008773804,0.03704834,-0.039398193,-0.012298584,-0.0020999908,-0.0038871765,0.03265381,-0.0031261444,0.027435303,0.0128479,0.017974854,0.028747559,0.05404663,0.048675537,0.010032654,0.047912598,0.004600525,0.02407837,-0.0035705566,0.017730713,-0.014144897,0.03062439,-0.009780884,0.03314209,0.023071289,0.017684937,0.02178955,0.0011548996,0.029830933,0.02432251,0.013092041,0.011756897,-0.028015137,0.009399414,0.00008189678,-0.049987793,0.017547607,0.0028896332,0.07672119,0.017227173,0.02104187,-0.00071811676,0.02305603,0.002828598,-0.039276123,-0.0071487427,0.016845703,0.020095825,-0.020477295,-0.017440796,-0.024459839,-0.0020046234,-0.0013580322,0.00083494186,0.029586792,-0.008560181,0.0093307495,-0.00059604645,-0.023284912,-0.009681702,0.010108948,0.0056381226,-0.015731812,0.00749588,0.04006958,-0.00504303,0.01826477,0.020690918,-0.010292053,-0.009864807,-0.0050621033,0.0065345764,0.005519867,-0.009941101,-0.0006227493,0.03375244,0.02507019,0.030792236,0.002161026,-0.010864258,-0.039886475,0.03668213,0.007865906,0.014572144,0.05130005,0.0068244934,-0.0046920776,0.029800415,0.026824951,0.0025901794,-0.010063171,-0.0042800903,-0.0042266846,0.0134887695,0.00068616867,0.013954163,0.01977539,-0.017654419,0.03164673,0.019256592,-0.0132751465,0.012298584,-0.002407074,-0.002298355,-0.017303467,0.0070648193,0.038330078,-0.0065460205,0.017837524,0.008338928,0.009849548,0.004878998,0.002002716,0.035308838,0.00040769577,0.036376953,0.0057868958,-0.014129639,0.0061836243,0.0031757355,-0.035369873,0.01663208,0.012718201,0.03704834,-0.029220581,0.012825012,0.015449524,-0.0069847107,0.015808105,0.017791748,-0.012611389,0.005962372,0.026794434,0.023986816,-0.020309448,-0.011604309,-0.021087646,0.017593384,0.04598999,-0.01838684,-0.026260376,0.025558472,-0.010238647,0.007167816,-0.010681152,0.020690918,0.0013771057,-0.02217102,-0.020706177,0.035705566,0.011985779,0.021652222,0.016418457,-0.026992798,-0.038970947,-0.00048351288,0.0026016235,-0.008834839,0.024932861,-0.0071868896,-0.0016431808,-0.024734497,0.018920898,0.016906738,0.043029785,0.0463562,-0.009757996,-0.007534027,-0.033355713,-0.038482666,0.03656006,-0.0680542,-0.01108551,0.0016260147,0.027374268,-0.03010559,-0.011299133,-0.017959595,-0.013916016,-0.033111572,-0.010383606,0.05114746,-0.005672455,0.027526855,0.040222168,0.018234253,-0.011405945,0.049804688,-0.025802612,0.016738892,0.0024929047,-0.0073432922,0.049224854,0.023010254,0.04144287,0.0044059753,-0.0121536255,-0.037139893,0.0043411255,0.03945923,0.016311646,0.015357971,-0.01637268,-0.008636475,0.026992798,-0.0023422241,0.018127441,0.0027923584,-0.021499634,-0.0023403168,-0.010147095,-0.0051002502,0.016143799,0.019165039,0.017333984,0.07122803,0.016403198,-0.007896423,-0.022140503,-0.028793335,0.018966675,0.002828598,-0.005470276,-0.021469116,-0.03149414,0.024856567,-0.045013428,-0.009025574,0.025741577,-0.015716553,-0.048858643,-0.027954102,0.004047394,0.018432617,-0.03845215,0.0085372925,0.019439697,0.000016331673,-0.005493164,0.055908203,-0.014877319,0.014457703,-0.020233154,0.018554688,0.044769287,0.009056091,0.0019798279,-0.012481689,0.026947021,-0.0059280396,-0.0009393692,-0.0035305023,0.024398804,0.01184082,0.007911682,-0.015701294,0.0018262863,0.006134033,-0.009170532,0.020874023,-0.018814087,0.015625,0.044769287,0.00016784668,-0.005191803,0.012489319,0.043823242,-0.007534027,0.00042629242,0.035614014,0.024719238,-0.044433594,0.0065994263,0.027709961,0.025436401,-0.030670166,0.0068893433,0.026824951,-0.047058105,0.012939453,0.04034424,0.027023315,0.002161026,-0.007247925,-0.0049362183,0.02217102,0.0035362244,0.013015747,0.005290985,-0.0138549805,-0.012489319,-0.050109863,0.01889038,-0.024734497,0.0027713776,0.014129639,0.04333496,-0.013664246,-0.053344727,0.019989014,0.01876831,-0.009803772,0.0032920837,0.00081443787,-0.005340576,-0.028320312,-0.013900757,-0.00069999695,-0.0004017353,-0.014755249,-0.010482788,-0.032318115,0.0075531006,0.035491943,-0.02633667,0.023834229,0.010009766,0.00605011,0.031173706,0.007881165,-0.018737793,0.03604126,0.026763916,-0.023284912,-0.03024292,-0.009712219,-0.0016555786,0.0026798248,0.02897644,-0.020690918,-0.028518677,0.012832642,-0.009605408,-0.00019931793,-0.0010576248,-0.012626648,-0.016326904,-0.025024414,0.01713562,0.003932953,0.0047073364,-0.042022705,-0.012168884,0.02128601,-0.023529053,-0.0016384125,-0.013587952,-0.016403198,-0.016403198,-0.051757812,0.010017395,0.008132935,0.016082764,-0.008071899,0.025878906,-0.026138306,-0.008422852,0.0050621033,-0.004776001,-0.0013027191,0.0034065247,0.025543213,-0.018707275,0.011238098,0.0007715225,-0.006465912,-0.007522583,0.0038280487,-0.03250122,0.0043640137,-0.01033783,0.031707764,-0.0019226074,-0.015548706,0.00831604,-0.02041626,-0.010574341,-0.02230835,0.0027828217,-0.011940002,0.05026245,-0.021957397,0.018173218,0.0015659332,0.015777588,-0.04156494,0.0006928444,0.011993408,-0.013832092,0.005809784,0.02935791,-0.017288208,0.026031494,-0.029205322,0.0057411194,-0.009361267,0.009857178,0.004611969,-0.010108948,-0.007637024,0.014297485,0.038726807,-0.01133728,0.012161255,-0.0029010773,0.016448975,-0.024536133,0.029632568,0.017166138,-0.00033640862,-0.03353882,0.00048661232,0.030166626,0.028701782,-0.014045715,0.0062713623,0.025100708,0.027359009,-0.017166138,0.0112838745,0.027069092,-0.009468079,-0.017990112,-0.008125305,-0.04711914,0.027145386,0.0033092499,-0.025802612,0.01612854,-0.006832123,0.012741089,-0.009735107,0.013130188,0.03665161,-0.004787445,-0.025512695,0.022247314,0.024627686,0.021865845,-0.0059127808,-0.016723633,-0.03503418,-0.025512695,-0.017730713,-0.02571106,0.002811432,0.0057296753,-0.014167786,-0.0234375,0.012397766,-0.017074585,0.0053367615,0.034240723,-0.020889282,0.00248909,-0.0021362305,0.024612427,0.007598877,0.01386261,-0.019866943,-0.004688263,0.026947021,0.016830444,-0.008293152,0.011650085,0.02078247,-0.0065994263,-0.033203125,0.018936157,-0.0029850006,0.008140564,-0.0054092407,-0.010185242,-0.009780884,-0.016036987,-0.010795593,-0.0021305084,-0.04864502,0.033721924,-0.0064353943,-0.027877808,0.014762878,0.02935791,0.013832092,0.010551453,0.018478394,-0.016693115,0.014678955,0.009979248,0.015106201,-0.0055618286,0.024856567,0.03503418,-0.01828003,-0.0050849915,0.0154953,0.024169922,-0.011047363,-0.007247925,0.0146484375,-0.010894775,-0.0037765503,0.0056533813,0.05102539,0.019317627,-0.011100769,0.026016235,0.038269043,0.02041626,0.007129669,0.018447876,0.026977539,0.02180481,-0.025360107,-0.018371582,0.0057868958,-0.008834839,-0.003929138,-0.0087509155,0.010055542,-0.051971436,-0.0085372925,0.0015802383,0.014167786,0.005458832,0.023956299,-0.0065460205,0.0067863464,-0.029586792,-0.012969971,-0.010612488,0.019210815,0.0463562,-0.018463135,0.012283325,-0.021743774,-0.02078247,0.019073486,0.02015686,0.008895874,-0.036621094,0.006843567,0.0014820099,-0.038879395,-0.00868988,0.022415161,0.007457733,-0.023880005,-0.00021147728,0.0116119385,-0.011421204,0.00894928,0.054504395,-0.007331848,-0.002161026,-0.02166748,-0.0073051453,-0.0046195984,-0.0071983337,0.005870819,0.011276245,0.01209259,-0.013259888,-0.007835388,-0.008514404,0.01600647,-0.03161621,0.042663574,-0.038726807,0.04852295,-0.018630981,-0.01512146,-0.019165039,-0.01134491,-0.017074585,-0.019470215],"createdAt":"2026-04-18T18:31:12.414Z","updatedAt":"2026-04-24T09:01:23.745Z","lastSeenAt":"2026-04-24T09:01:23.745Z","tsv":"'/v1/chat/completions':49 '/v1/estimate':80 '/v1/images/estimate':101 '/v1/images/generate':99 '/v1/images/models':100 '/v1/models':71 '1.2.0':118 '400':163 '402':172,202 '404':130 'AI chat API' 'Base network AI' 'OpenAI compatible proxy' 'USDC AI gateway' 'accept':41 'ai':4,16,32,52 'also':66 'api':26,33,112 'auxiliari':69 'avail':74,153 'bad':164 'base':12,24,46,127 'beyond':92 'bodi':185 'captur':201 'challeng':175,191,203 'chat':5,17,53,107 'chat-completion' 'commit':90 'compat':61 'complet':6,18,54,88,108 'configur':197 'cost':84 'cost-estimation' 'could':194 'cover':105 'crawl':144 'describ':115,152 'detail':138,205 'doc':206 'document':139 'enabl':3,15,31 'endpoint':50,70,98,109,147,160,180 'error':131 'estim':82 'exact':208 'expect':171 'expos':67 'fastifi':124 'fastify-styl':123 'flow':210 'formal':134 'format':132 'found':142 'free':68 'function':55 'gateway':7,19,34,65 'generat':97 'http':162 'imag':96 'image-generation' 'indic':178 'interfac':63 'issu':188,198 'json':150 'list':73,104 'manifest':151 'may':177 'model':76,213 'model-listing' 'network':47 'note':155 'offer':95 'openai':60 'openai-compat':59 'openai-compatible-api' 'openapi':135 'page':140 'pay':8,20 'pay-per-request LLM' 'payment':30,43,91,173,190,209 'payment-en':29 'post':62,167 'price':78 'probe':158 'protocol':39 'provid':51 'rather':168 'remain':214 'request':165,184 'requir':174,181 'return':161 'root':146 'rout':154 'run':120 'schema':136 'self':114 'self-describ':113 'serv':148 'server':126 'signal':195 'specif':110,183 'standard':58 'structur':186 'style':125 'support':212 'text':75,87,93 'though':102 'uncertain':215 'usdc':10,22,42 'usdc-on-base' 'use':36 'version':117 'via':56 'without':199 'x-router' 'x402':2,14,38 'x402 chat' 'x402-enabled':1,13 'x402-payment' 'xRouter' 'xrouter':25,94","prices":[{"id":"1900e06e-93f1-4c2b-b9f5-c8e0ea1ea0bd","listingId":"076350b7-ece4-499b-9eb1-100a7b53c57f","amountUsd":null,"unit":"per_call","nativeCurrency":"USD COIN","nativeAmount":"135168","chain":"base","payTo":"0xEb4DA07Be74b26b2966b3cD07842cADE70E47D53","paymentMethod":"x402-usd coin","isPrimary":true,"details":{"scheme":"exact","mime_type":"application/json","accepts_all":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xEb4DA07Be74b26b2966b3cD07842cADE70E47D53","scheme":"exact","network":"base","mimeType":"application/json","resource":"https://api.x-router.ai/v1/chat/completions","description":"AI Chat Completion","outputSchema":{"input":{"type":"http","method":"POST","bodyType":"json","bodyFields":{"model":{"type":"string","description":"The AI model to use"},"stream":{"type":"boolean","description":"Enable streaming response"},"messages":{"type":"array","required":true,"description":"Array of message objects with role and content"},"max_tokens":{"type":"number","description":"Maximum tokens in response, 1-128000"},"temperature":{"type":"number","description":"Temperature for response randomness, 0-2"}},"discoverable":true},"output":{"model":{"type":"string","description":"Model used for generation"},"usage":{"type":"object","properties":{"total_tokens":{"type":"number","description":"Total tokens used"},"prompt_tokens":{"type":"number","description":"Number of tokens in the prompt"},"completion_tokens":{"type":"number","description":"Number of tokens in the completion"}}},"content":{"type":"string","description":"AI generated response content"}}},"maxAmountRequired":"135168","maxTimeoutSeconds":120}],"asset_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","max_timeout_seconds":120},"createdAt":"2026-04-18T18:31:12.414Z"}],"sources":[{"listingId":"076350b7-ece4-499b-9eb1-100a7b53c57f","source":"x402_bazaar","sourceId":"https://api.x-router.ai/v1/chat/completions","sourceUrl":"https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources","isPrimary":true,"firstSeenAt":"2026-04-18T18:31:12.414Z","lastSeenAt":"2026-04-24T09:01:23.745Z"}],"details":{"listingId":"076350b7-ece4-499b-9eb1-100a7b53c57f","quickStartSnippet":"# Estimate cost first (free)\ncurl https://api.x-router.ai/v1/estimate \\\n  -X POST -H 'Content-Type: application/json' \\\n  -d '{\"model\": \"gpt-4o-mini\", \"messages\": [{\"role\": \"user\", \"content\": \"Hello\"}]}'\n\n# List available models (free)\ncurl https://api.x-router.ai/v1/models\n\n# Chat completion (requires x402 payment header)\ncurl https://api.x-router.ai/v1/chat/completions \\\n  -X POST -H 'Content-Type: application/json' \\\n  -H 'X-Payment: <x402_payment_token>' \\\n  -d '{\"model\": \"gpt-4o-mini\", \"messages\": [{\"role\": \"user\", \"content\": \"Hello\"}]}'","exampleRequest":{"model":"gpt-4o-mini","messages":[{"role":"user","content":"Explain the x402 protocol in one paragraph."}]},"exampleResponse":null,"schema":{"input":{"type":"http","method":"POST","bodyType":"json","bodyFields":{"model":{"type":"string","description":"The AI model to use"},"stream":{"type":"boolean","description":"Enable streaming response"},"messages":{"type":"array","required":true,"description":"Array of message objects with role and content"},"max_tokens":{"type":"number","description":"Maximum tokens in response, 1-128000"},"temperature":{"type":"number","description":"Temperature for response randomness, 0-2"}},"discoverable":true},"output":{"model":{"type":"string","description":"Model used for generation"},"usage":{"type":"object","properties":{"total_tokens":{"type":"number","description":"Total tokens used"},"prompt_tokens":{"type":"number","description":"Number of tokens in the prompt"},"completion_tokens":{"type":"number","description":"Number of tokens in the completion"}}},"content":{"type":"string","description":"AI generated response content"}}},"openapiUrl":null,"agentsTxtUrl":null,"citations":[{"claim":"xRouter API is version 1.2.0, described as a payment-enabled AI API gateway using x402 protocol with USDC on Base","source_url":"https://api.x-router.ai"},{"claim":"The /v1/chat/completions endpoint accepts POST and is payment-required; /v1/models and /v1/estimate are free auxiliary endpoints","source_url":"https://api.x-router.ai"},{"claim":"Image generation endpoints are also available at /v1/images/generate, /v1/images/models, and /v1/images/estimate","source_url":"https://api.x-router.ai"},{"claim":"Endpoint returned HTTP 400 on POST probe rather than 402","source_url":"https://api.x-router.ai/v1/chat/completions"}],"useCases":["Agent-driven LLM inference with per-request USDC micropayments","Estimating costs before making paid AI completions","Listing available models and their pricing to select the best option","Building autonomous AI agents that pay for their own inference"],"bestFor":["AI agents needing pay-per-call LLM access without API keys","Developers building x402-native applications on Base","Scenarios requiring cost estimation before committing to a completion"],"notFor":["High-volume production workloads needing guaranteed SLAs (no docs on rate limits or uptime)","Users who need detailed API documentation or OpenAPI specs before integrating"],"kindDetails":{"x402_version":1,"resource_type":"http","bazaar_last_updated":"2026-02-17T23:15:13.394Z"},"updatedAt":"2026-04-24T09:01:23.745Z"}}