{"id":"c2f675d4-cb37-4fe8-9b54-5e43d89812b8","shortId":"JCKhxv","kind":"mpp","title":"Grok chat with server-side code execution via xAI models, paid per call over MPP/Tempo","tagline":"Grok chat with server-side code execution via xAI models, paid per call over MPP/Tempo","description":"This endpoint provides access to xAI's Grok models with built-in code execution capability, served through the Locus MPP (Micropayment Protocol) gateway. It accepts an OpenAI-compatible chat completions request body with a Grok-4 family model (e.g. grok-4-0709, grok-4-1-fast-reasoning) and automatically enables server-side code execution alongside the conversation. You can also pass additional tools to combine code execution with other tool-use capabilities. Payment is settled per-call via the Tempo method on pathUSD, with dynamic pricing estimated at roughly $0.01–$0.50 per request depending on model and token usage.\n\nThe code-execution endpoint is one of several Grok capabilities exposed under the same MPP service, which also includes plain chat completions, web search, X (Twitter) search, image generation/editing, and text-to-speech. All endpoints share the same payment rail and OpenAPI schema. The code-execution path specifically requires a Grok-4 family model.\n\nNote: The probe did not capture a live 402 challenge from this specific endpoint because it was tested with HEAD/GET, while the endpoint only accepts POST. The OpenAPI spec is well-defined and the service infrastructure responds (returning structured JSON errors for unknown routes), so the endpoint is likely live but could not be fully confirmed during probing.","tags":["llm","chat","x-search","web-search","image-generation","tts"],"capabilities":["chat-completions","code-execution","tool-use","grok-4-models","mpp-tempo-payment","per-call-billing","openai-compatible-api","server-side-sandbox"],"categories":["llm","code-execution"],"synonyms":["grok code interpreter","xai code execution","grok-4 code runner","grok sandbox","grok tool use","locus mpp grok","grok chat with tools"],"warnings":["Probe used HEAD/GET which returned 404; endpoint requires POST — live status not fully confirmed","No example response captured; response schema is not documented beyond '200: Successful response'","Pricing is described as 'Dynamic (~$0.01–$0.50)' with no exact per-token breakdown available","Grok-4 family models are required; older Grok-3 models may not work on this endpoint"],"endpointUrl":"https://grok.mpp.paywithlocus.com/grok/code-execution","protocol":"mpp","transport":"http","auth":{"type":"mpp","details":{"realm":"grok.mpp.paywithlocus.com","intent":"charge","method":"tempo","service_methods":{"tempo":{"assets":["0x20c000000000000000000000b9537d11c60e8b50"],"intents":["charge"]}}}},"qualityScore":"0.550","qualityRationale":"The OpenAPI schema is detailed with clear request schemas, model names, and pricing guidance. However, the probe did not capture a live 402 challenge for this specific endpoint (HEAD/GET returned 404; POST was not attempted), no example response is available, and all crawled pages returned generic 404 JSON. The endpoint is likely live but not fully confirmed.","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-19T17:31:06.859Z","embedding":[-0.03201294,0.022216797,0.047546387,-0.046051025,-0.023223877,-0.013298035,-0.028060913,0.025238037,0.051116943,-0.048797607,0.08648682,-0.06048584,0.022155762,-0.040161133,-0.030181885,-0.02558899,-0.041290283,-0.019821167,-0.03744507,0.04989624,0.02355957,-0.0028457642,-0.022201538,0.0138549805,-0.024124146,-0.026931763,-0.01361084,0.04598999,-0.0018978119,-0.054016113,0.013687134,-0.03491211,-0.036254883,-0.03668213,0.0007247925,-0.02508545,0.0063095093,0.03491211,0.04574585,-0.037902832,-0.00242424,-0.02355957,-0.020248413,0.034210205,-0.02407837,0.00012600422,-0.016921997,0.0015325546,-0.021865845,0.028579712,-0.022659302,0.020553589,-0.022033691,0.023910522,-0.03375244,0.02027893,-0.01158905,0.017181396,0.041931152,0.012077332,0.009223938,-0.05908203,0.017700195,0.0052871704,-0.010559082,0.011314392,-0.038909912,-0.0074768066,-0.020568848,0.06439209,0.018661499,0.044433594,-0.005996704,-0.035308838,-0.004749298,-0.026275635,0.010375977,0.052734375,0.01461792,-0.019485474,0.00944519,-0.0026721954,-0.020889282,-0.0010766983,0.010848999,-0.017913818,-0.045288086,-0.0017881393,-0.026489258,0.014884949,-0.064819336,0.0154953,0.019073486,0.012069702,0.071777344,0.020767212,-0.038238525,-0.021133423,0.036468506,0.055419922,-0.0053977966,-0.05239868,0.0079422,-0.011383057,0.08538818,0.056915283,0.040527344,0.03427124,-0.010597229,-0.010719299,-0.05407715,-0.018722534,-0.05645752,0.00944519,0.029251099,-0.029830933,0.03781128,0.0027484894,-0.029693604,-0.026016235,-0.0491333,0.061157227,0.014953613,-0.034057617,-0.022964478,-0.023544312,0.0068244934,-0.057159424,0.0118637085,-0.0075416565,0.0115356445,-0.0137786865,0.012763977,-0.072143555,-0.01966858,0.0418396,-0.03250122,-0.0038604736,-0.04852295,0.0029830933,-0.028793335,-0.010368347,-0.017944336,0.029724121,-0.08227539,-0.000078201294,-0.055358887,-0.00081920624,-0.07611084,-0.001701355,-0.0044898987,-0.02130127,-0.012451172,0.028060913,-0.0138549805,0.002040863,-0.022262573,0.023910522,-0.03286743,-0.016860962,-0.008850098,0.044403076,0.050750732,0.004432678,-0.02848816,0.026473999,-0.022140503,0.013671875,-0.06744385,0.009422302,-0.006996155,0.0074310303,-0.052490234,0.023620605,0.0071258545,-0.06842041,-0.030319214,0.015068054,-0.011924744,-0.0017766953,0.0018281937,0.027526855,0.014846802,0.053955078,-0.027420044,-0.038085938,-0.014060974,0.036071777,0.018722534,0.041259766,0.015975952,-0.004638672,0.054901123,0.049835205,-0.011314392,-0.035125732,0.022949219,-0.01966858,0.010765076,0.016479492,0.04019165,-0.008560181,0.054840088,-0.0044784546,0.022979736,0.017105103,0.02355957,-0.034240723,0.0021533966,0.018295288,0.03656006,-0.021484375,0.005580902,0.023162842,-0.03881836,-0.06439209,0.0076065063,-0.017440796,-0.012237549,0.035736084,-0.017105103,0.02357483,-0.021850586,0.001461029,0.004425049,0.06304932,0.026062012,-0.03778076,0.0236969,-0.021530151,0.008392334,-0.008728027,-0.05899048,-0.008766174,0.040863037,-0.026565552,0.0037117004,0.0035629272,-0.0102005005,-0.02218628,-0.027526855,-0.013916016,-0.00038933754,-0.037139893,0.034576416,0.019119263,-0.029678345,-0.057434082,0.029693604,0.01878357,0.027008057,-0.030029297,0.02406311,-0.00081539154,-0.016784668,-0.050750732,-0.011390686,0.026748657,-0.04272461,-0.06842041,0.04260254,0.054840088,-0.016998291,0.04144287,-0.009277344,0.01889038,0.0064430237,-0.0143585205,-0.017105103,0.021942139,0.029006958,-0.0041542053,0.031204224,-0.009712219,-0.034362793,-0.021835327,0.026748657,-0.0051460266,-0.022460938,0.0079574585,-0.007850647,-0.013946533,0.050079346,0.009490967,-0.040039062,0.009841919,0.0036773682,-0.0061302185,0.012168884,-0.01777649,-0.038482666,0.04006958,0.043029785,-0.028274536,0.060699463,-0.001958847,0.039978027,-0.044403076,0.03744507,0.0053482056,0.03491211,0.05041504,-0.016479492,-0.09283447,0.020324707,0.042022705,-0.004447937,0.027160645,0.0024147034,-0.0020122528,-0.002773285,-0.003566742,-0.024154663,-0.0076904297,0.021133423,-0.000023901463,0.048736572,0.028060913,-0.010955811,-0.056762695,-0.011421204,-0.035583496,0.01838684,0.012771606,-0.033172607,0.025543213,0.0079193115,-0.00005888939,-0.0102005005,0.019256592,0.0052108765,-0.039123535,-0.03729248,0.017532349,0.01838684,0.019958496,0.0071411133,0.009788513,0.017105103,0.040283203,-0.07519531,-0.025009155,-0.020767212,-0.037750244,0.012535095,0.031402588,-0.011413574,0.02305603,-0.002960205,-0.004234314,0.02204895,-0.04156494,0.018493652,0.02357483,0.034088135,-0.0058250427,-0.038635254,-0.043701172,-0.032073975,-0.016494751,-0.081848145,0.024154663,-0.030136108,0.018844604,0.047210693,0.019973755,-0.04559326,-0.044952393,-0.0050621033,-0.0262146,0.008758545,0.016998291,-0.02229309,-0.033355713,-0.045318604,0.014282227,-0.01586914,0.055145264,-0.009063721,0.03186035,0.046325684,0.012641907,-0.021713257,0.01828003,0.0032844543,0.03302002,-0.005958557,0.009346008,-0.0137786865,-0.013465881,0.035583496,-0.037384033,-0.006389618,-0.04321289,0.026565552,0.014793396,0.09082031,0.0009794235,0.041229248,0.039367676,-0.0061683655,0.007522583,-0.05407715,0.024505615,-0.036224365,-0.031021118,0.040161133,-0.012832642,-0.026779175,0.020568848,0.030960083,0.03387451,0.010421753,-0.029159546,0.037109375,-0.029418945,-0.008728027,-0.028656006,0.0513916,0.06585693,0.012710571,-0.06652832,-0.0026798248,-0.011917114,-0.05819702,0.024749756,0.036132812,-0.04159546,0.0413208,-0.019348145,0.0012865067,0.0058403015,0.049682617,-0.080078125,-0.0049972534,-0.02645874,0.043640137,-0.0019350052,-0.009880066,0.005191803,-0.015945435,-0.017593384,-0.035217285,0.029647827,-0.056030273,-0.025527954,-0.016845703,-0.03225708,-0.011054993,-0.02746582,-0.018829346,-0.020050049,0.01512146,0.043823242,0.026306152,-0.03363037,0.029724121,0.032226562,0.033813477,0.013053894,0.015014648,-0.0046157837,-0.023910522,-0.018737793,-0.024047852,0.018310547,-0.018554688,-0.010124207,-0.0032672882,0.03479004,-0.003479004,0.019012451,-0.018127441,-0.011871338,-0.017410278,-0.018539429,0.0030879974,-0.049468994,-0.04156494,0.008911133,-0.016433716,-0.018966675,-0.041046143,0.025817871,-0.017700195,0.083862305,-0.0013942719,-0.028457642,-0.032958984,0.002281189,-0.009277344,-0.0087509155,0.00756073,-0.0143966675,0.010574341,-0.008079529,-0.024536133,0.04034424,-0.029586792,0.012557983,-0.05834961,-0.030273438,-0.032073975,-0.0118637085,-0.053710938,0.03564453,0.012214661,-0.006679535,0.008331299,0.0395813,0.012718201,0.039245605,0.029006958,0.01158905,-0.027755737,0.01676941,-0.028762817,0.062042236,-0.017700195,0.008666992,0.015342712,0.01576233,-0.008865356,-0.020065308,0.0048828125,-0.014328003,-0.026306152,-0.06378174,-0.040008545,-0.005317688,0.01889038,0.009513855,0.033996582,-0.017990112,-0.015213013,-0.023040771,-0.025604248,0.0007638931,-0.044830322,-0.023971558,-0.004634857,-0.014305115,0.023361206,0.004470825,0.022369385,0.012634277,0.013092041,-0.03540039,0.0135650635,-0.0013895035,0.031799316,-0.05783081,-0.0014638901,0.02217102,0.025360107,0.047912598,-0.0037441254,-0.020309448,0.01676941,0.01977539,0.0056037903,0.01625061,0.04550171,-0.02168274,-0.0090789795,0.035583496,-0.020050049,0.00094509125,-0.010032654,0.011268616,0.005168915,0.016693115,-0.028152466,-0.0024585724,0.02708435,-0.01701355,-0.007282257,-0.010574341,0.0069770813,-0.0011615753,-0.007709503,-0.0058898926,0.020599365,0.03164673,-0.025482178,0.00027537346,-0.016448975,0.04559326,-0.0021076202,0.052093506,0.023147583,-0.023651123,0.024246216,0.014846802,-0.00085926056,-0.0017166138,0.0137786865,0.007610321,0.0020370483,0.012458801,0.039367676,-0.01940918,-0.009231567,0.0041503906,-0.0041275024,-0.0029506683,0.012741089,0.014823914,0.016586304,-0.008071899,0.008354187,-0.015975952,-0.03375244,-0.040740967,-0.0058403015,0.012283325,-0.023834229,-0.006629944,0.04473877,0.008514404,0.020263672,-0.02458191,0.020812988,-0.015686035,0.009651184,-0.008346558,-0.004386902,-0.019577026,0.0006914139,0.07611084,0.02468872,-0.0030899048,0.02696228,0.008422852,0.017089844,-0.019897461,0.0054244995,0.0021915436,-0.015045166,-0.059753418,0.02078247,0.007255554,-0.010383606,-0.02229309,0.020477295,-0.016220093,0.0063819885,-0.011642456,0.01235199,-0.02230835,0.001282692,-0.04736328,0.0023612976,0.0019626617,0.020629883,-0.026412964,-0.017105103,-0.031707764,-0.011680603,0.0335083,-0.033081055,0.007419586,-0.020462036,-0.003501892,-0.048309326,0.03286743,-0.0047912598,0.06317139,0.011116028,0.03036499,-0.02671814,0.044158936,0.017181396,0.02532959,0.04727173,-0.018463135,-0.010681152,-0.08984375,0.013206482,-0.0076904297,-0.018981934,-0.008125305,-0.028045654,0.0039711,0.021896362,-0.020080566,0.023635864,0.009170532,-0.0009241104,-0.016677856,0.014564514,-0.015625,0.004852295,0.0020065308,-0.027389526,0.0007276535,-0.017089844,0.039855957,-0.017181396,-0.005744934,0.0028972626,0.002773285,0.041534424,-0.047210693,-0.021865845,-0.0017642975,0.005847931,0.025344849,0.007255554,-0.01701355,-0.039642334,0.011459351,-0.010215759,0.042022705,-0.027267456,0.023223877,-0.018310547,0.0026893616,-0.009902954,-0.0048980713,-0.025009155,0.030838013,-0.010002136,-0.005050659,-0.040100098,-0.039489746,-0.014228821,0.02696228,-0.0026416779,0.00024533272,-0.0013818741,-0.017456055,-0.012908936,-0.033203125,-0.025360107,0.022415161,-0.021377563,-0.0018692017,-0.025772095,0.0063095093,0.04147339,0.000746727,-0.00447464,-0.013374329,0.012199402,-0.030029297,0.034057617,-0.0357666,0.042633057,0.001909256,-0.020965576,0.010520935,-0.014076233,0.018417358,-0.023452759,0.0062294006,-0.011245728,-0.0019111633,-0.01737976,0.012825012,-0.015991211,0.01939392,0.003250122,0.019104004,0.03515625,-0.011909485,-0.013336182,-0.022369385,0.021865845,0.014602661,-0.0072517395,0.021347046,0.018234253,0.029724121,0.055511475,-0.037231445,0.008514404,0.020004272,0.013076782,-0.01828003,0.008430481,0.0040626526,-0.0072898865,-0.015838623,-0.035339355,0.0069274902,-0.000029921532,-0.0096206665,-0.046447754,-0.025802612,-0.03842163,-0.031585693,-0.012260437,0.008720398,0.037719727,0.0029296875,-0.023208618,-0.10144043,-0.0069122314,0.011878967,-0.0078125,0.015266418,0.020858765,-0.00044178963,0.03253174,0.010917664,-0.0051116943,0.004322052,-0.022247314,-0.0010547638,-0.022232056,-0.0066604614,-0.03375244,0.009689331,0.006099701,0.036102295,0.021911621,-0.0016508102,-0.033843994,-0.006427765,0.010246277,-0.01373291,-0.0064430237,-0.013839722,0.010818481,0.035339355,-0.0071258545,-0.012771606,-0.0010318756,0.023651123,0.04107666,0.0020542145,0.00050258636,-0.0070381165,-0.0236969,0.022705078,-0.014251709,0.0048942566,-0.04244995,0.024017334,0.037902832,-0.0008034706,0.0038967133,0.03677368,-0.011001587,-0.026641846,-0.03265381,-0.018432617,-0.0021877289,0.01864624,0.004257202,0.0023021698,0.020629883,-0.0053367615,0.046783447,-0.009178162,-0.019760132,0.0037117004,-0.019058228,0.029418945,0.008506775,-0.029693604,0.02003479,0.009780884,0.030700684,-0.004184723,-0.010375977,-0.03677368,0.021316528,0.023452759,0.0046310425,0.040130615,-0.010314941,0.015914917,0.043060303,0.004989624,-0.010505676,0.02368164,-0.02180481,0.0143966675,-0.009666443,-0.014625549,-0.008071899,0.0000064373016,0.0020389557,-0.026748657,-0.05343628,0.020980835,-0.0552063,0.03515625,0.0040016174,-0.0014419556,0.0057373047,0.011657715,-0.00091028214,0.03805542,0.009674072,0.05834961,0.037353516,-0.02128601,0.043670654,0.016601562,-0.014953613,-0.02192688,0.012557983,-0.022140503,-0.012992859,0.006717682,0.00982666,-0.013221741,0.027633667,-0.026641846,0.028381348,0.043792725,-0.01637268,-0.013710022,-0.017715454,0.020645142,-0.007534027,-0.018218994,0.005508423,-0.013191223,0.008384705,-0.018692017,-0.007419586,-0.022125244,-0.033050537,-0.021591187,0.011367798,0.024887085,0.0061454773,-0.004501343,-0.01448822,0.040496826,-0.026901245,-0.025604248,0.038757324,-0.0034332275,-0.025131226,0.044708252,-0.012611389,0.010116577,-0.002231598,-0.0005545616,-0.007106781,-0.022872925,0.012886047,0.030685425,-0.0317688,-0.007911682,-0.020202637,-0.014022827,0.029724121,-0.02128601,-0.010253906,-0.020187378,-0.013137817,0.023803711,0.058685303,-0.009925842,-0.02218628,-0.010757446,-0.03173828,-0.016860962,0.013435364,0.00008112192,0.004550934,-0.009895325,0.024047852,0.028915405,-0.010955811,0.08099365,0.022750854,0.018722534,-0.025360107,0.017196655,0.0014677048,0.006828308,0.021530151,0.0052604675,0.02571106,0.02809143,-0.032196045,-0.01876831,0.0075263977,-0.013259888,0.023147583,0.011955261,0.055267334,0.018341064,0.0049705505,-0.021713257,-0.009246826,-0.0034236908,-0.01096344,-0.036193848,0.014976501,-0.015930176,0.05847168,-0.011146545,-0.017196655,-0.003622055,0.02067566,-0.025177002,-0.016326904,-0.0064849854,0.025878906,0.0069732666,-0.014251709,-0.046417236,0.023757935,-0.02432251,-0.03086853,-0.051330566,0.016952515,-0.0020217896,-0.0016641617,-0.0020694733,0.010932922,0.00006741285,0.0034370422,0.0184021,-0.010795593,0.024032593,-0.011871338,0.0023727417,0.020507812,0.020767212,-0.021453857,-0.011528015,0.0027542114,0.015823364,-0.0010175705,-0.029846191,-0.0011415482,0.018096924,0.027572632,0.015586853,0.017684937,-0.013801575,-0.019577026,0.038238525,0.007873535,0.027755737,0.035247803,0.029678345,-0.01373291,0.011016846,0.013519287,0.019119263,-0.014549255,0.0138168335,0.00969696,0.008987427,0.01651001,0.01373291,-0.002696991,-0.023544312,0.03010559,0.0022792816,-0.01838684,0.039031982,0.004058838,-0.0234375,-0.010688782,0.05090332,0.04473877,0.014709473,0.018722534,0.011230469,0.015197754,0.027374268,0.030014038,0.0013961792,-0.014083862,0.005420685,-0.008712769,-0.017562866,0.010505676,-0.009864807,-0.021011353,0.011726379,-0.008338928,0.0022945404,-0.03616333,0.015945435,0.006340027,0.026977539,0.029129028,-0.022155762,0.0024528503,0.018417358,0.022155762,0.0024280548,-0.0046806335,0.005050659,-0.014709473,0.036315918,0.013656616,0.0058898926,0.004257202,0.000052034855,0.010154724,-0.021194458,-0.014839172,0.033599854,0.029846191,-0.052520752,0.013038635,0.001209259,0.01939392,0.025894165,0.018737793,-0.030090332,-0.021194458,0.0009832382,-0.008842468,-0.004600525,0.0018558502,-0.006855011,0.014579773,0.020751953,-0.0015497208,0.010276794,0.03503418,0.019241333,-0.024337769,0.01889038,-0.013191223,0.01626587,0.004005432,-0.018798828,-0.0098724365,-0.002828598,0.01612854,-0.058013916,-0.037628174,0.017410278,-0.0050697327,-0.02645874,-0.0135650635,0.0034637451,0.017364502,0.004550934,-0.0087509155,0.009361267,-0.025772095,0.056549072,0.014968872,0.007827759,0.012649536,0.0068626404,0.05697632,0.030654907,0.018432617,0.0011196136,0.019226074,-0.025558472,0.012008667,0.0395813,0.0010976791,0.0112838745,-0.016952515,0.01802063,0.014862061,-0.021499634,0.012817383,0.0019388199,0.02230835,0.03955078,-0.0026416779,0.0023956299,-0.021331787,0.010177612,0.024673462,0.02619934,0.01889038,-0.011100769,-0.010925293,-0.005630493,0.016571045,0.01838684,0.008239746,-0.007041931,0.023864746,-0.009902954,-0.027862549,-0.02583313,0.0113220215,0.007587433,-0.039855957,-0.02571106,0.00036549568,0.041503906,-0.0063934326,0.008056641,0.009361267,-0.012519836,0.0035152435,0.033050537,-0.003932953,0.03213501,-0.03286743,-0.009361267,0.036956787,0.030090332,-0.00315094,-0.034729004,0.0024280548,-0.022750854,0.021957397,-0.03729248,-0.017440796,0.005065918,0.012123108,0.012313843,0.030014038,0.017837524,0.03326416,0.02229309,0.0020198822,-0.01461792,-0.021362305,0.011665344,-0.034729004,0.02406311,0.0060691833,-0.00422287,0.034729004,0.030807495,-0.0015554428,-0.022628784,0.02067566,-0.0077285767,0.009239197,-0.013916016,0.03378296,0.022903442,-0.023910522,0.010787964,0.002714157,0.03152466,0.012672424,0.006385803,0.016342163,0.0072517395,0.020828247,0.010223389,-0.02003479,-0.009208679,0.012519836,-0.03237915,-0.021194458,-0.016540527,0.0031032562,0.009147644,0.05050659,0.013908386,-0.0072517395,0.0000056028366,0.015602112,-0.022201538,-0.0029773712,0.013137817,0.00182724,-0.0027160645,-0.012542725,0.017730713,0.00491333,-0.0072288513,0.01576233,0.024505615,0.04510498,0.026275635,-0.027191162,0.012145996,0.030776978,-0.0051116943,0.010810852,0.024719238,-0.023544312,0.0070381165,0.02949524,0.012374878,-0.026824951,0.018661499,0.012931824,0.004436493,0.05239868,-0.021408081,-0.011566162,0.014915466,-0.0022621155,0.02444458,-0.021469116,0.0019350052,0.008300781,-0.015144348,0.02796936,0.009094238,0.028503418,-0.04272461,-0.01386261,-0.006137848,-0.052825928,0.0046195984,-0.012672424,0.016693115,-0.030029297,-0.03277588,0.006095886,0.0013084412,0.0024967194,-0.017089844,0.046447754,-0.01689148,0.006210327,-0.0022239685,0.009262085,0.0068244934,0.001420021,0.0049324036,-0.027297974,0.0003349781,0.008132935,-0.030944824,-0.021606445,-0.012161255,-0.021835327,0.04525757,-0.033447266,0.021453857,-0.009010315,0.00843811,0.010040283,-0.004650116,0.04360962,-0.012290955,0.0016698837,-0.01512146,0.027236938,-0.0035572052,0.011001587,0.01461792,0.0059890747,-0.01184082,0.005504608,-0.016357422,0.00023651123,0.0020542145,0.022460938,-0.0021343231,0.02734375,0.008956909,0.013259888,-0.004337311,0.034729004,-0.0011053085,-0.006450653,-0.01826477,0.013519287,0.047973633,-0.026031494,0.006164551,0.011451721,-0.004585266,-0.0236969,-0.0016269684,0.017532349,0.0056152344,-0.053955078,0.02357483,0.009063721,0.04598999,0.002840042,0.016586304,0.0058898926,0.053131104,-0.036590576,-0.006046295,-0.0042495728,0.0076904297,-0.0026493073,0.021606445,-0.049224854,0.0012712479,0.012252808,-0.0049476624,0.0066604614,-0.0014448166,-0.024719238,-0.007865906,-0.001168251,0.028793335,-0.0055122375,-0.0037059784,-0.0026226044,0.04220581,0.022201538,0.009544373,-0.012329102,-0.0008292198,-0.03387451,-0.022460938,-0.024627686,0.005001068,0.037902832,-0.01322937,-0.008598328,-0.01940918,-0.00091934204,0.014656067,0.046295166,-0.019058228,0.017852783,0.018722534,0.014839172,0.0051345825,0.019897461,-0.016860962,0.024536133,0.0074691772,0.0036354065,0.0067596436,0.02835083,0.0068626404,-0.009819031,0.014678955,0.012161255,-0.019165039,-0.012924194,-0.025848389,-0.01939392,0.017608643,0.024047852,0.013504028,-0.006252289,-0.017501831,-0.008270264,-0.029907227,-0.016342163,-0.017105103,0.008003235,0.0026931763,-0.02003479,0.0013608932,-0.025772095,-0.0062446594,-0.007484436,0.014587402,-0.037963867,0.021591187,0.026565552,-0.009986877,0.02017212,-0.0016670227,-0.002752304,-0.005596161,0.0027427673,-0.013969421,0.014328003,-0.022918701,-0.014434814,0.010116577,0.012832642,-0.008544922,-0.0007324219,-0.0023727417,0.0059432983,0.016464233,0.0042495728,0.019134521,0.018875122,-0.006679535,-0.02633667,0.011001587,-0.003753662,0.01777649,-0.0050811768,0.022628784,-0.011192322,-0.017990112,-0.006549835,0.020141602,0.0037517548,0.024383545,-0.008285522,-0.013313293,-0.034210205,-0.012374878,0.017028809,-0.005645752,0.012969971,0.012306213,0.010353088,-0.024215698,-0.014923096,0.0036964417,0.016784668,0.039123535,-0.0040893555,-0.010673523,-0.0064430237,0.014045715,-0.0042762756,-0.0030002594,0.010635376,-0.021606445,0.00066518784,0.028564453,0.03540039,-0.01776123,0.041412354,0.013336182,-0.0057373047,-0.01033783,-0.0009069443,-0.0034236908,-0.02293396,-0.0014801025,-0.0072288513,0.019882202,-0.0020008087,-0.02079773,-0.022232056,-0.005821228,-0.029541016,0.020339966,-0.0149002075,0.036712646,-0.010223389,-0.0012235641,-0.013542175,-0.029418945,0.01651001,-0.013061523],"createdAt":"2026-04-18T20:01:08.286Z","updatedAt":"2026-04-22T02:45:11.204Z","lastSeenAt":"2026-04-22T02:45:11.204Z","tsv":"'-0709':76 '-1':79 '-4':70,75,78,192 '0.01':128 '0.50':129 '402':203 'accept':58,219 'access':36 'addit':98 'alongsid':91 'also':96,156 'automat':84 'bodi':66 'built':44 'built-in':43 'call':14,30,115 'capabl':48,109,148 'captur':200 'challeng':204 'chat':2,18,63,159 'chat-completions' 'code':7,23,46,89,102,140,185 'code-execut':139,184 'code-execution' 'combin':101 'compat':62 'complet':64,160 'confirm':251 'convers':93 'could':247 'defin':227 'depend':132 'dynam':123 'e.g':73 'enabl':85 'endpoint':34,142,174,208,217,242 'error':236 'estim':125 'execut':8,24,47,90,103,141,186 'expos':149 'famili':71,193 'fast':81 'fast-reason':80 'fulli':250 'gateway':56 'generation/editing':167 'grok':1,17,40,69,74,77,147,191 'grok chat with tools' 'grok code interpreter' 'grok sandbox' 'grok tool use' 'grok-4 code runner' 'grok-4-models' 'head/get':214 'imag':166 'includ':157 'infrastructur':231 'json':235 'like':244 'live':202,245 'locus':52 'locus mpp grok' 'method':119 'micropay':54 'model':11,27,41,72,134,194 'mpp':53,153 'mpp-tempo-payment' 'mpp/tempo':16,32 'note':195 'one':144 'openai':61 'openai-compat':60 'openai-compatible-api' 'openapi':181,222 'paid':12,28 'pass':97 'path':187 'pathusd':121 'payment':110,178 'per':13,29,114,130 'per-cal':113 'per-call-billing' 'plain':158 'post':220 'price':124 'probe':197,253 'protocol':55 'provid':35 'rail':179 'reason':82 'request':65,131 'requir':189 'respond':232 'return':233 'rough':127 'rout':239 'schema':182 'search':162,165 'serv':49 'server':5,21,87 'server-sid':4,20,86 'server-side-sandbox' 'servic':154,230 'settl':112 'sever':146 'share':175 'side':6,22,88 'spec':223 'specif':188,207 'speech':172 'structur':234 'tempo':118 'test':212 'text':170 'text-to-speech':169 'token':136 'tool':99,107 'tool-us':106 'tool-use' 'twitter':164 'unknown':238 'usag':137 'use':108 'via':9,25,116 'web':161 'well':226 'well-defin':225 'x':163 'xai':10,26,38 'xai code execution'","prices":[{"id":"5675e77d-0f0b-4e5f-9a59-3673564694db","listingId":"c2f675d4-cb37-4fe8-9b54-5e43d89812b8","amountUsd":null,"unit":"per_call","nativeCurrency":"pathUSD","nativeAmount":null,"chain":"tempo","payTo":null,"paymentMethod":"mpp-tempo","isPrimary":true,"details":{"realm":"grok.mpp.paywithlocus.com","intent":"charge","method":"tempo","dynamic":true,"decimals":6,"unit_type":null,"amount_hint":"Dynamic (~$0.01–$0.50)","raw_payment":{"intent":"charge","method":"tempo","dynamic":true,"currency":"0x20c000000000000000000000b9537d11c60e8b50","decimals":6,"amountHint":"Dynamic (~$0.01–$0.50)","description":"Chat with Code Execution"},"asset_contract":"0x20c000000000000000000000b9537d11c60e8b50"},"createdAt":"2026-04-18T20:01:08.286Z"}],"sources":[{"listingId":"c2f675d4-cb37-4fe8-9b54-5e43d89812b8","source":"mpp_dev","sourceId":"grok:POST:/grok/code-execution","sourceUrl":"https://mpp.dev/api/services","isPrimary":true,"firstSeenAt":"2026-04-18T20:01:08.286Z","lastSeenAt":"2026-04-22T02:45:11.204Z"}],"details":{"listingId":"c2f675d4-cb37-4fe8-9b54-5e43d89812b8","quickStartSnippet":"curl -X POST https://grok.mpp.paywithlocus.com/grok/code-execution \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"model\": \"grok-4-0709\",\n    \"messages\": [\n      {\"role\": \"user\", \"content\": \"Calculate the first 20 Fibonacci numbers using Python.\"}\n    ],\n    \"max_tokens\": 1024\n  }'","exampleRequest":{"model":"grok-4-0709","messages":[{"role":"user","content":"Write and run Python code to compute the factorial of 50."}],"max_tokens":512,"temperature":0.7},"exampleResponse":null,"schema":{"path":"/grok/code-execution","method":"POST","payment":{"intent":"charge","method":"tempo","dynamic":true,"currency":"0x20c000000000000000000000b9537d11c60e8b50","decimals":6,"amountHint":"Dynamic (~$0.01–$0.50)","description":"Chat with Code Execution"},"description":"Chat with Code Execution"},"openapiUrl":null,"agentsTxtUrl":null,"citations":[{"claim":"Code execution endpoint requires Grok-4 family models (e.g. grok-4-0709, grok-4-1-fast-reasoning)","source_url":"https://grok.mpp.paywithlocus.com"},{"claim":"Dynamic pricing approximately $0.01–$0.50 per request","source_url":"https://grok.mpp.paywithlocus.com"},{"claim":"Payment settled via Tempo method on pathUSD","source_url":"https://grok.mpp.paywithlocus.com"},{"claim":"xAI API reference available at docs.x.ai","source_url":"https://docs.x.ai"},{"claim":"Additional documentation at beta.paywithlocus.com/mpp/grok.md","source_url":"https://beta.paywithlocus.com/mpp/grok.md"}],"useCases":["Running data analysis or computation as part of an LLM conversation","Generating and executing code snippets to answer math or programming questions","Combining code execution with custom tools for agentic workflows","Automating calculations, chart generation, or data transformations via chat"],"bestFor":["Agents that need verified computation results alongside LLM reasoning","Pay-per-call access to Grok-4 code execution without an xAI API key","Workflows combining natural language understanding with executable code"],"notFor":["Long-running or resource-intensive compute jobs (this is chat-scoped execution)","Use cases requiring deterministic, auditable code execution environments outside an LLM context","Free-tier or high-volume batch processing where per-call pricing is prohibitive"],"kindDetails":{"docs":{"llmsTxt":"https://paywithlocus.com/mpp/grok.md","homepage":"https://docs.x.ai"},"tags":["llm","chat","x-search","web-search","image-generation","tts"],"realm":"grok.mpp.paywithlocus.com","status":"active","methods":{"tempo":{"assets":["0x20c000000000000000000000b9537d11c60e8b50"],"intents":["charge"]}},"provider":{"url":"https://x.ai","name":"Grok"},"categories":["ai"],"service_id":"grok","integration":"third-party","service_name":"Grok","service_description":"xAI models — chat, web/X search, code execution, image generation/editing, and text-to-speech."},"updatedAt":"2026-04-22T02:45:11.204Z"}}